View source: R/plotClusterHeatmap.R
plotClusterHeatmap | R Documentation |
Heatmaps summarizing the clustering result.
plotClusterHeatmap( sce, features = rownames(sce), clusters = sce$cluster_id, by_exprs_values = "exprs", fun = "median", scale = T, cluster_rows = T, cluster_anno = F, draw_dend = T, draw_freqs = T, split_by = NULL, hm2 = NULL )
sce |
A |
features |
A character vector. Specifies which antigens to use for clustering. |
clusters |
A character vector. Specifies the cluster IDs. |
by_exprs_values |
A character string. Specifies which assay data to use for plotting. |
fun |
A character string. Specifies the function for computing the summary statistic. |
scale |
Logical. Specifies whether scaled values should be plotted. Scaled values corresponds to cofactor arcsinh-transformed expression values scaled between 0 and 1 using 1 Note that hierarchical clustering is performed on the unscaled data. |
cluster_rows |
Logical. Specifies whether rows should be reordered by hierarchical clustering. |
cluster_anno |
Logical. Specifies whether clusters should be annotated. |
draw_dend |
Logical. Specifies if the row dendrogram should be drawn. |
draw_freqs |
Logical. Specifyies whether to display cell counts and proportions. |
split_by |
A character string.
Must corresponds to a column name of |
hm2 |
A character string. Specifies the right-hand side heatmap. One of:
Depending on argument
|
a HeatmapList-class
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.