Description Usage Arguments Value Examples
Make a Barplot for cluster size
1 | ClusterSizeBarplot(ident, bar_col = "blue", label_number = TRUE)
|
ident |
a named factor vector. names are the cell names, the values are the cluster id. |
bar_col |
color for the bar. Default is blue. |
label_number |
whether or not put cell number in each cluster on top of the bar |
a ggplot2 bar graph object
1 2 | data(pbmc_small)
ClusterSizeBarplot(Idents(pbmc_small))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.