downsampleListSeuObjsPercent | R Documentation |
Downsampling a list of Seurat objects to a specified fraction of their original size. This is useful for reducing dataset size for quicker processing or testing workflows.
downsampleListSeuObjsPercent(
ls.obj = ls.Seurat,
fraction = 0.1,
seed = 1989,
save_object = FALSE
)
ls.obj |
List of Seurat objects to be downsampled. Default: |
fraction |
Fraction of cells to retain in each Seurat object. Default: 0.1. |
save_object |
Logical indicating whether to save the downsampled Seurat objects using
|
## Not run:
if (interactive()) {
downsampled_objs <- downsampleListSeuObjsPercent(ls.obj = yourListOfSeuratObjects, fraction = 0.1)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.