EV_plotter: This function allows you to plot explained variation

View source: R/explained_variation.R

EV_plotterR Documentation

This function allows you to plot explained variation

Description

This function allows you to plot explained variation

Usage

EV_plotter(batchqc_ev)

Arguments

batchqc_ev

table of explained variation from batchqc_explained_variation

Value

boxplot of explained variation

Examples

library(scran)
se <- mockSCE()
se$Mutation_Status <- as.factor(se$Mutation_Status)
se$Treatment <- as.factor(se$Treatment)
expl_var_result <- batchqc_explained_variation(se, batch = "Mutation_Status",
                            condition = "Treatment", assay_name = "counts")
EV_boxplot <- BatchQC::EV_plotter(expl_var_result[[1]])
EV_boxplot


compbiomed/BatchQC documentation built on Nov. 16, 2024, 5:47 a.m.