Return cell IDs for a subset based on metadata
fetch_cells.Rd
Returns a character vector with the cell names matching the levels/classes of a specified metadata variable.
Usage
fetch_cells(object, meta_var, meta_levels)
# S3 method for class 'Seurat'
fetch_cells(object, meta_var, meta_levels)
# S3 method for class 'SingleCellExperiment'
fetch_cells(object, meta_var, meta_levels)
# S3 method for class 'AnnDataR6'
fetch_cells(object, meta_var, meta_levels)