View source: R/Visualization_check.R
exprTopHeatmap | R Documentation |
plot a heatmap of expression matrix
exprTopHeatmap(
expr,
group_list,
filename = NA,
top = 1000,
main = "SD Top 1000 genes",
palette = RColorBrewer::brewer.pal(3, "Set2")[1:2],
anno_title = "Group",
annotation_col = ac_(expr, group_list),
width = ncol(expr) * 0.3 + 2.2,
height = ncol(expr) * 0.3 + 2.2,
...,
heatmapParam = list(show_rownames = F)
)
expr |
a expression matrix |
group_list |
a character vector order by samples |
filename |
file name you want to save plot |
top |
if not NA, only keep top of genes by mad |
main |
plot title |
palette |
annotation palette |
anno_title |
annotation title |
annotation_col |
annotation dataframe |
width |
width of plot |
height |
height of plot |
... |
more parameters in |
heatmapParam |
more parameters in |
Can filter genes by 'top'.
'top' means the top sd (by sd
) of expression matrix.
a heatmap or a file
exprTopHeatmap(expr,group_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.