View source: R/Seurat.utils.less.used.R
umapNamedClusters | R Documentation |
Generates a UMAP plot colored by a specified metadata column and saves the plot to a file.
umapNamedClusters(
obj = combined.obj,
metaD.colname = metaD.colname.labeled,
ext = "png",
...
)
obj |
Seurat object to be visualized; Default: |
metaD.colname |
Metadata column name to color the UMAP by; Default: 'metaD.colname.labeled'. |
ext |
File extension for the saved plot, supports 'png', 'pdf', etc.; Default: 'png'. |
... |
Additional arguments passed to Seurat's |
Displays a UMAP plot and saves it to the current working directory.
## Not run:
if (interactive()) {
umapNamedClusters(obj = combined.obj, metaD.colname = "metaD.colname.labeled")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.