View source: R/plotting_functions.R
plot_heatmap_scExp | R Documentation |
Plot cell correlation heatmap with annotations
plot_heatmap_scExp(
scExp,
name_hc = "hc_cor",
corColors = (grDevices::colorRampPalette(c("royalblue", "white", "indianred1")))(256),
color_by = NULL,
downsample = 1000,
hc_linkage = "ward.D"
)
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 |
downsample |
Number of cells to downsample |
hc_linkage |
A linkage method for hierarchical clustering. See cor. ('ward.D') |
A heatmap of cell to cell correlation, grouping cells by hierarchical clustering.
data("scExp")
plot_heatmap_scExp(scExp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.