HeatmapView {MAGeCKFlute} | R Documentation |
Draw heatmap
HeatmapView( mat, limit = c(-2, 2), na_col = "gray70", 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 |
na_col |
Color for missing values |
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
file3 = file.path(system.file("extdata", package = "MAGeCKFlute"), "testdata/mle.gene_summary.txt") dd = ReadBeta(file3) gg = cor(dd[,2:ncol(dd)]) HeatmapView(gg, display_numbers = TRUE)