miko_heatmap.Rd
Wrapper for pheatmap::pheatmap() and ggplotify::as.ggplot.
miko_heatmap(
mat,
scale = "none",
symmetric_scale = T,
scale.lim = NA,
color = colorRampPalette(rev(brewer.pal(n = 7, name = "RdBu")))(100),
...
)
numeric matrix
character indicating if the values should be centered and scaled in either the row direction or the column direction, or none. Corresponding values are "row", "column" and "none"
Enforce symmetrical color scale. Default is TRUE.
Apply ceiling and floor to all values in matrix. Default is NA.
vector of colors used in heatmap
additional parameters passed to pheatmap::pheatmap(...)
pheatmap