EV_table: EV Table Returns table with percent variation explained for...

View source: R/explained_variation.R

EV_tableR Documentation

EV Table Returns table with percent variation explained for specified number of genes

Description

EV Table Returns table with percent variation explained for specified number of genes

Usage

EV_table(batchqc_ev)

Arguments

batchqc_ev

explained variation results from batchqc_explained_variation

Value

List of explained variation by batch and condition

Examples

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

EV_table


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