downsample_cells | R Documentation |
Downsample seurat object to the same number of cells per ident
downsample_cells(so, group, n_cells = NULL, seed = 42)
so |
seurat object |
group |
grouping variable |
n_cells |
# of desired cells, if null then downsample to minimum # of cells per group |
seed |
integer for setting seed. if set to NULL then no seed will be set |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.