plot.variance.Rd
Shows the explained variance for a reduction for selecting how many dimensions to use downstream
# S3 method for variance
plot(object, assay, reduction, ...)
IBRAP S4 class object
Character. String containing indicating which assay to use
Character. Which reductions to access within the supplied assays
Arguments to be passed to ggpubr::ggarrange
Plots showing the supplied reductions explained variance
object <- plot.variance(object = object,
assay = c('SCT', 'SCRAN', 'SCANPY'),
reduction = 'pca')
#> Error in is(object = object, class2 = "IBRAP"): object 'object' not found