runUMAP | R Documentation |
Perform UMAP on sections or genes in a SummarizedExperiment
object for dimensionality reduction.
runUMAP(object, genes = NA, matrix = "auto", ...)
object |
A |
genes |
|
matrix |
Character, must be one of |
... |
Other parameters passed to |
A SummarizedExperiment
object. The UMAP embeddings are saved in slot meta
if UMAP is performed on sections, or saved in slot gene_embedding
if UMAP is performed on genes.
umap
for performing UMAP on a matrix.
data(zh.data) zh <- createTomo(zh.data) # Perform UMAP on sections. zh <- runUMAP(zh) # Perform UMAP on some genes. zh <- runUMAP(zh, genes=rownames(zh)[1:100])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.