DownsampleSeurat | R Documentation |
Downsample a seurat object, either globally or subset by a field
DownsampleSeurat(seuratObj, targetCells, subsetFields = NULL, seed = GetSeed())
seuratObj |
The seurat object |
targetCells |
The desired cell number to retain per unit of data. If a subsetField is provided, the string 'min' can also be used, in which case |
subsetFields |
If provided, data will be grouped by these fields, and up to targetCells will be retained per group |
seed |
The random seed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.