View source: R/pcaOtherPlotting.R
plotPairPCA | R Documentation |
Plot pair-wise PCA plots for multiple dimensions
plotPairPCA(
spe_object,
n_dimension = 3,
precomputed = NULL,
assay = 2,
title = NA,
title.size = 14,
rmduplabs = FALSE,
flipcoord = FALSE,
legend.pos = "top",
...
)
spe_object |
A SpatialExperiment object. |
n_dimension |
The top n dimensions to be plotted |
precomputed |
a dimensional reduction results from |
assay |
a numeric or character, specifying the assay to use (for
|
title |
Character vector, title to put at the top. |
title.size |
Numeric vector, size of the title. |
rmduplabs |
Remove duplicated labels from the plot. FALSE by default. |
flipcoord |
Flip the xy coordinates. FALSE by default. |
legend.pos |
Position of the legend. top by default. |
... |
aesthetic mappings to pass to |
A ggplot object.
data("dkd_spe_subset")
plotPairPCA(dkd_spe_subset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.