Extract matrix containing iNMF or dimensionality reduction embeddings.
# S3 method for liger
Embeddings(object, reduction = NULL, iNMF = FALSE, check_only = FALSE, ...)
LIGER object name.
name of dimensionality reduction to pull
logical, whether to extract iNMF h.norm matrix instead of dimensionality reduction embeddings.
logical, return TRUE
if valid reduction is present.
Arguments passed to other methods
matrix
if (FALSE) {
# Extract embedding matrix for current dimensionality reduction
UMAP_coord <- Embeddings(object = liger_object)
# Extract iNMF h.norm matrix
iNMF_mat <- Embeddings(object = liger_object, reduction = "iNMF")
}