subsample_by_ident: Given ncell, a target number, select ncell from each class of...

subsample_by_identR Documentation

Given ncell, a target number, select ncell from each class of cell/column.

Description

Given ncell, a target number, select ncell from each class of cell/column.

Usage

subsample_by_ident(object, ident = NULL, nbcell = TRUE, seed = 123)

Arguments

object

a ClusterSet object.

ident

A named vector. Names are cell/column names, values are classes/identity. Typically the result of the Seurat::Ident() function.

nbcell

The number of cell to select.

seed

A seed for subsampling.

Examples

# load a dataset

dputhier/scigenex documentation built on Feb. 18, 2025, 2:27 p.m.