| plot_cell_proportions | R Documentation |
Plot cell proportions across each sample
plot_cell_proportions(
obj,
sample_id = "orig.ident",
group_id = "coarse_clusters",
facet_by = NULL,
summary_boxplot = FALSE,
return_data = FALSE,
cols = discrete_palette_default
)
obj |
Seurat object |
sample_id |
column name containing the per sample id |
group_id |
column name with cluster id |
facet_by |
column name to facet by |
summary_boxplot |
if TRUE, summarize data with 'facet_by' variable using jittered boxplot |
return_data |
if TRUE return cell count data with plot as a list |
cols |
colors |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.