PCA plotting function with ggplot2
Arguments
- spe
A SpatialExperiment::SpatialExperiment output from
standR::readGeoMx()
- precomputed
Output from
SingleCellExperiment::reducedDim()
- colourShapeBy
From input$selected_types
- selectedVar
Either "Type" or input$selected_batch
- ROIshapes
User input shapes from .PCA_customization() function OR PCA_customization_batch()
- ROIcolours
User input colours from .PCA_customization() function OR PCA_customization_batch()
Value
A ggplot2::ggplot2 object