bapred: Batch Effect Removal and Addon Normalization (in Phenotype Prediction using Gene Data)

Various tools dealing with batch effects, in particular enabling the removal of discrepancies between training and test sets in prediction scenarios. Moreover, addon quantile normalization and addon RMA normalization (Kostka & Spang, 2008) is implemented to enable integrating the quantile normalization step into prediction rules. The following batch effect removal methods are implemented: FAbatch, ComBat, (f)SVA, mean-centering, standardization, Ratio-A and Ratio-G. For each of these we provide an additional function which enables a posteriori ('addon') batch effect removal in independent batches ('test data'). Here, the (already batch effect adjusted) training data is not altered. For evaluating the success of batch effect adjustment several metrics are provided. Moreover, the package implements a plot for the visualization of batch effects using principal component analysis. The main functions of the package for batch effect adjustment are ba() and baaddon() which enable batch effect removal and addon batch effect removal, respectively, with one of the seven methods mentioned above. Another important function here is bametric() which is a wrapper function for all implemented methods for evaluating the success of batch effect removal. For (addon) quantile normalization and (addon) RMA normalization the functions qunormtrain(), qunormaddon(), rmatrain() and rmaaddon() can be used.

Version: 1.1
Depends: R (≥ 3.1.0), glmnet, lme4, MASS, sva, affyPLM
Imports: FNN, fuzzyRankTests, methods, mnormt, affy, Biobase
Suggests: ArrayExpress
Published: 2022-06-22
DOI: 10.32614/CRAN.package.bapred
Author: Roman Hornung, David Causeur
Maintainer: Roman Hornung <hornung at>
License: GPL-2
NeedsCompilation: no
Citation: bapred citation info
CRAN checks: bapred results


Reference manual: bapred.pdf


Package source: bapred_1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): bapred_1.1.tgz, r-oldrel (arm64): bapred_1.1.tgz, r-release (x86_64): bapred_1.1.tgz, r-oldrel (x86_64): bapred_1.1.tgz
Old sources: bapred archive


Please use the canonical form to link to this page.