plot.variance: Plot reduction explained variance

View source: R/plot.variance.R

plot.varianceR Documentation

Plot reduction explained variance

Description

Shows the explained variance for a reduction for selecting how many dimensions to use downstream

Usage

## S3 method for class 'variance'
plot(object, assay, reduction, ...)

Arguments

object

IBRAP S4 class object

assay

Character. String containing indicating which assay to use

reduction

Character. Which reductions to access within the supplied assays

...

Arguments to be passed to ggpubr::ggarrange

Value

Plots showing the supplied reductions explained variance

Examples


object <- plot.variance(object = object, 
                        assay = c('SCT', 'SCRAN', 'SCANPY'), 
                        reduction = 'pca')


connorhknight/IBRAP documentation built on March 9, 2023, 7:01 p.m.