Plot pair-wise PCA plots for multiple dimensions
plotPairPCA(
spe_object,
n_dimension = 3,
precomputed = NULL,
assay = 2,
title = NA,
title.size = 14,
...
)
A SpatialExperiment object.
The top n dimensions to be plotted
a dimensional reduction results from stats::prcomp
.
result in reducedDims(object)
to plot. Default is NULL,
we will compute for you.
a numeric or character, specifying the assay to use (for
SummarizedExperiment
and its derivative classes).
Character vector, title to put at the top.
Numeric vector, size of the title.
aesthetic mappings to pass to ggplot2::aes()
.
A ggplot object.
data("dkd_spe_subset")
plotPairPCA(dkd_spe_subset)