View source: R/visualization_functions.R
plot_expression_heatmap | R Documentation |
plot_expression_heatmap
plot_expression_heatmap(sce, celltype.id = "celltype", genes, value.type)
sce |
SingleCellExperiment object containing gene counts matrix (stored in 'logcounts' assay). |
celltype.id |
Character specifying which field in colData(sce) should be used as celltype. Default celltype.id="celltype". |
genes |
Character vector containing gene names. |
value.type |
String specifying whether to plot average expression (= "mean") or fraction of cells with non-zero counts(= "frac"). |
Heatmap with average across (per gene/per celltype)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.