CellsByIdentities: 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)
Value
A named list where names are identity classes and values are vectors
of cells belonging to that class
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
Examples
Run this codeCellsByIdentities(object = pbmc_small)
Run the code above in your browser using DataLab