plot.discriminant.3d | R Documentation |
Add an extra dimension to the reference map (it can be suggested by 'find.discriminant.dimensions'), to explore additional axes of variability in a query dataset compared to the reference map.
## S3 method for class 'discriminant.3d'
plot(
ref,
query,
query.control = NULL,
query.assay = "RNA",
labels.col = "functional.cluster",
extra.dim = "ICA_1",
query.state = NULL
)
ref |
Seurat object with reference object |
query |
Seurat object with query data |
query.control |
Optionally, you can compare your query with a control sample, instead of the reference |
query.assay |
The data slot to be used for enrichment analysis |
labels.col |
The metadata field used to annotate the clusters |
extra.dim |
The additional dimension to be added on the z-axis of the plot. Can be either:
|
query.state |
Only plot the query cells from this specific state |
A three dimensional plot with UMAP_1 and UMAP_2 on the x and y axis respectively, and the specified 'extra.dim' on the z-axis.
plot.discriminant.3d(ref, query=query, extra.dim="ICA_19")
plot.discriminant.3d(ref, query=treated.set, query.control=control.set, extra.dim="ICA_2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.