downsample_cells: Downsample seurat object to the same number of cells per...

downsample_cellsR Documentation

Downsample seurat object to the same number of cells per ident

Description

Downsample seurat object to the same number of cells per ident

Usage

downsample_cells(so, group, n_cells = NULL, seed = 42)

Arguments

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


rnabioco/scbp documentation built on July 7, 2023, 10:10 p.m.