Embeddings.liger | R Documentation |
Extract matrix containing iNMF or dimensionality reduction embeddings.
## S3 method for class 'liger'
Embeddings(object, reduction = NULL, iNMF = FALSE, check_only = FALSE, ...)
object |
LIGER object name. |
reduction |
name of dimensionality reduction to pull |
iNMF |
logical, whether to extract iNMF h.norm matrix instead of dimensionality reduction embeddings. |
check_only |
logical, return |
... |
Arguments passed to other methods |
matrix
## Not run:
# 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")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.