Extract all cell barcodes by identity from LIGER object
Cells_by_Identities_LIGER(liger_object, group.by = NULL, by_dataset = FALSE)
LIGER object name.
name of meta data column to use, default is current default clustering.
logical, whether to return list with entries for cell barcodes for each
identity in group.by
or to return list of lists (1 entry per dataset and each ident within the dataset)
(default is FALSE; return list)
list or list of lists depending on by_dataset
parameter
if (FALSE) {
# 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)
}