ratio_plotter: This function allows you to plot ratios of explained...

View source: R/variation_ratios.R

ratio_plotterR Documentation

This function allows you to plot ratios of explained variation

Description

This function allows you to plot ratios of explained variation

Usage

ratio_plotter(ev_ratio)

Arguments

ev_ratio

table of ratios from variation_ratios()

Value

boxplot of ratios

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")
ratios_results <- variation_ratios(expl_var_result[[1]],
    batch = "Mutation_Status")
ratio_boxplot <- BatchQC::ratio_plotter(ratios_results)
ratio_boxplot


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