Extract all unique features from LIGER object

LIGER_Features(liger_object, by_dataset = FALSE)

Arguments

liger_object

LIGER object name.

by_dataset

logical, whether to return list with vector of features for each dataset in LIGER object or to return single vector of unique features across all datasets in object (default is FALSE; return vector of unique features)

Value

vector or list depending on by_dataset parameter

Examples

if (FALSE) {
# return single vector of all unique features
all_features <- LIGER_Features(liger_object = object, by_dataset = FALSE)

# return list of vectors containing features from each individual dataset in object
dataset_features <- LIGER_Features(liger_object = object, by_dataset = TRUE)
}