subsample_by_ident | R Documentation |
Given ncell, a target number, select ncell from each class of cell/column.
subsample_by_ident(object, ident = NULL, nbcell = TRUE, seed = 123)
object |
a ClusterSet object. |
ident |
A named vector. Names are cell/column names, values are classes/identity. Typically the result of the Seurat::Ident() function. |
nbcell |
The number of cell to select. |
seed |
A seed for subsampling. |
# load a dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.