View source: R/Seurat.Utils.Visualization.R
Plot3D.ListOfCategories | R Documentation |
This function plots and saves a list of 3D UMAP or tSNE plots using plotly.
Plot3D.ListOfCategories(
obj = combined.obj,
annotate.by = "integrated_snn_res.0.7",
cex = 1.25,
default.assay = c("integrated", "RNA")[2],
ListOfCategories = c("v.project", "experiment", "Phase", "integrated_snn_res.0.7"),
SubFolderName = ppp("plot3D", substitute_deparse(ListOfCategories))
)
obj |
A Seurat object for which the plot is to be created. Default: 'combined.obj'. |
annotate.by |
Character vector specifying the metadata column to be used for annotating the plot. Default: 'integrated_snn_res.0.7'. |
cex |
Numeric value specifying the point size on the plot. Default: 1.25. |
default.assay |
Character vector specifying the assay to be used. Default: 'RNA' (second element in the vector c("integrated", "RNA")). |
ListOfCategories |
Character vector specifying the categories to be included in the plot. Default categories are "v.project", "experiment", "Phase", "integrated_snn_res.0.7". |
SubFolderName |
String specifying the name of the subfolder where the plots will be saved. By default, it's created using the function ppp("plot3D", substitute_deparse(ListOfCategories)). |
## Not run:
if (interactive()) {
categ3Dplots <- c("v.project", "experiment", "Phase", "integrated_snn_res.0.7", "Area", "Individual", "Type")
Plot3D.ListOfCategories(obj = combined.obj, ListOfCategories = categ3Dplots)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.