View source: R/scrnaseq_functions.R
seu_downsample | R Documentation |
Downsample Seurat object
seu_downsample(
seu,
group_by = "celltype",
n_cells = NULL,
min_cells = NULL,
seed = 123
)
seu |
Seurat object |
group_by |
Cluster |
n_cells |
Number of target cell |
min_cells |
Minimum number of cells per group |
seed |
Random seed |
get_seu_dataset() |> seu_downsample(group_by = "seurat_annotations", n_cells = 100, min_cells = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.