Cells_by_Identities_LIGER {scCustomize} | R Documentation |
Extract Cells by identity
Description
Extract all cell barcodes by identity from LIGER object
Usage
Cells_by_Identities_LIGER(liger_object, group.by = NULL, by_dataset = FALSE)
Arguments
liger_object |
LIGER object name. |
group.by |
name of meta data column to use, default is current default clustering. |
by_dataset |
logical, whether to return list with entries for cell barcodes for each
identity in |
Value
list or list of lists depending on by_dataset
parameter
Examples
## Not run:
# return single vector of all cells
cells_by_idents <- Cells_by_Identities_LIGER(liger_object = object, by_dataset = FALSE)
# return list of vectors containing cells from each individual dataset in object
cells_by_idents_by_dataset <- Cells_by_Identities_LIGER(liger_object = object, by_dataset = TRUE)
## End(Not run)
[Package scCustomize version 3.0.0 Index]