% Generated by roxygen2: do not edit by hand % Please edit documentation in R/confounders_clsq_class.R \name{confounders_lsq_barchart} \alias{confounders_lsq_barchart} \title{barchart of percent change} \usage{ confounders_lsq_barchart(feature_to_plot, threshold = 10, ...) } \arguments{ \item{feature_to_plot}{the name or index of the feature to be plotted} \item{threshold}{the threshold to be plotted (in \%)} \item{...}{additional slots and values passed to struct_class} } \value{ A STRUCT chart object struct object } \description{ plots a barchart of the percent change when including a confounding factor in a classical least squares model } \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_barchart(feature_to_plot=1,threshold=15) chart_plot(C,M[3]) }