confounders_lsq_boxplot {structToolbox}R Documentation

boxplot of percent change

Description

Plots a boxplot of the percent change over all features when including a confounding factor in the ttest

Usage

confounders_lsq_boxplot(threshold = 10, ...)

Arguments

threshold

the threshold to be plotted (in %)

...

additional slots and values passed to struct_class

Value

A STRUCT chart object

struct object

Examples

D = MTBLS79_DatasetExperiment()
M = filter_by_name(mode='include',dimension='variable',
        names=colnames(D$data)[1:10]) + # first 10 features
    filter_smeta(mode='exclude',levels='QC',
        factor_name='class') + # reduce to two group comparison
    confounders_clsq(factor_name = 'class',
        confounding_factors=c('sample_order','batch'))
M = model_apply(M,D)
C = C=confounders_lsq_boxplot(threshold=15)
chart_plot(C,M[3])


[Package structToolbox version 1.0.1 Index]