View source: R/summarize_cell_types.R
Function to summarize and analyze the number of cells and fraction of each cell type over multiple replicates in a Seurat object.
1 2 3 4 5 6 7 8 | summarize_cell_types(
seurat_object,
Replicate_column,
grouping_var,
grouping_var_order = NULL,
save_plot = FALSE,
output_dir = "."
)
|
seurat_object |
The S4 Seurat object which contains filtered and normalized cells in the data slot. |
Replicate_column |
The column in the meta.data table that contains biological replicate information. |
grouping_var_order |
User supplied vector of order for grouping variable. |
save_plot |
logical of whether to save the plot as png. Default = FALSE. |
output_dir |
Output directory of where to save the plot and corresponding table. |
group_by |
The column that contains the groups to be compared. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.