downsampleSeuObj | R Documentation |
Subset a compressed Seurat object and save it in the working directory.
downsampleSeuObj(
obj = ls.Seurat[[i]],
fractionCells = 0.25,
nCells = FALSE,
seed = 1989
)
obj |
A Seurat object to subset. Default: the i-th element of the list 'ls.Seurat'. |
fractionCells |
The fraction of the object's data to keep. Default: 0.25. |
nCells |
If set to a number greater than 1, indicates the absolute number of cells to keep.
If FALSE, the function uses 'fractionCells' to determine the number of cells. Default: |
seed |
A seed for random number generation to ensure reproducible results. Default: 1989. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.