CellsByIdentities: Get cell names grouped by identity class

View source: R/seurat.R

CellsByIdentitiesR Documentation

Get cell names grouped by identity class

Description

Get cell names grouped by identity class

Usage

CellsByIdentities(object, idents = NULL, cells = NULL, return.null = FALSE)

Arguments

object

A Seurat object

idents

A vector of identity class levels to limit resulting list to; defaults to all identity class levels

cells

A vector of cells to grouping to

return.null

If no cells are requested, return a NULL; by default, throws an error

Value

A named list where names are identity classes and values are vectors of cells belonging to that class

Examples

CellsByIdentities(object = pbmc_small)


SeuratObject documentation built on Nov. 18, 2023, 1:06 a.m.