Description Usage Arguments Value Examples
View source: R/plotting_functions.R
Plot cell correlation heatmap with annotations
1 2 3 4 5 6 | plot_heatmap_scExp(
scExp,
name_hc = "hc_cor",
corColors = (grDevices::colorRampPalette(c("royalblue", "white", "indianred1")))(256),
color_by = NULL
)
|
scExp |
A SingleCellExperiment Object |
name_hc |
Name of the hclust contained in the SingleCellExperiment object |
corColors |
A palette of colors for the heatmap |
color_by |
Which features to add as additional bands on top of plot |
A heatmap of cell to cell correlation, grouping cells by hierarchical clustering.
1 2 | data("scExp")
plot_heatmap_scExp(scExp)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.