HeatmapView {MAGeCKFlute} | R Documentation |
Draw heatmap
HeatmapView(mat, limit = c(-2, 2), colPal = rev(colorRampPalette(c("#c12603", "white", "#0073B6"), space = "Lab")(199)), filename = NA, width = NA, height = NA, ...)
mat |
Matrix like object, each row is gene and each column is sample. |
limit |
Max value in heatmap |
colPal |
colorRampPalette. |
filename |
File path where to save the picture. |
width |
Manual option for determining the output file width in inches. |
height |
Manual option for determining the output file height in inches. |
... |
Other parameters in pheatmap. |
Invisibly a pheatmap object that is a list with components.
Wubing Zhang
data(mle.gene_summary) dd = ReadBeta(mle.gene_summary) gg = cor(dd[,2:ncol(dd)]) HeatmapView(gg, display_numbers = TRUE)