batchqc_explained_variation: Returns a list of explained variation by batch and condition...

View source: R/explained_variation.R

batchqc_explained_variationR Documentation

Returns a list of explained variation by batch and condition combinations

Description

Returns a list of explained variation by batch and condition combinations

Usage

batchqc_explained_variation(se, batch, condition = NULL, assay_name)

Arguments

se

Summarized experiment object

batch

Batch covariate

condition

Condition covariate(s) of interest if desired, default is NULL

assay_name

Assay of choice

Value

List of explained variation by batch and condition

Examples

library(scran)
se <- mockSCE()
batchqc_explained_variation <- BatchQC::batchqc_explained_variation(se,
                                        batch = "Mutation_Status",
                                        condition = "Treatment",
                                        assay_name = "counts")
batchqc_explained_variation


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