View source: R/utility_functions.R
getUMAP | R Documentation |
Get UMAP data and plot from Seurat object.
getUMAP(
object,
umap.key = "umap",
node.type = "point",
meta.features = colnames(object@meta.data),
size = autoPointSize(ncol(object)),
...
)
object |
Seurat Object. |
umap.key |
Character UMAP key slot in seurat object. Default is "umap" |
node.type |
"point" or "text" |
meta.features |
character vector specifying which meta features to retrieve. Default is 'colnames(object@meta.data)' |
... |
additional parameters to geom_point or geom_text |
list containing UMAP data.frame and ggplot handle
Nicholas Mikolajewicz
wnnUMAP.list <- getUMAP(so.gene, umap.key = "wnn.umap", node.type = "text")
df.wnn.umap <- wnnUMAP.list$df.umap
plt.wnn.umap <- wnnUMAP.list$plt.umap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.