View source: R/Seurat.Utils.Visualization.R
plot3D.umap | R Documentation |
Plot a 3D umap based on one of the metadata columns. Uses plotly. Based on github.com/Dragonmasterx87.
plot3D.umap(
obj = combined.obj,
category = GetNamedClusteringRuns(obj = obj, v = FALSE)[1],
annotate.by = category,
suffix = NULL,
dotsize = 1.25,
col.names = c("umap_1", "umap_2", "umap_3"),
...
)
obj |
The Seurat object for which the 3D umap plot will be generated. Default: combined.obj |
category |
The metadata column based on which the 3D UMAP will be plotted. Default: First returned result from GetNamedClusteringRuns(obj) function. |
annotate.by |
The cluster or grouping to be used for automatic annotation. Default: First returned result from GetNamedClusteringRuns(obj) function. |
suffix |
A suffix added to the filename. Default: NULL |
dotsize |
The size of the dots in the plot. Default: 1.25 |
... |
Pass any other parameter to the internally called |
## Not run:
if (interactive()) {
plot3D.umap(category = "integrated_snn_res.0.1", obj = combined.obj)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.