Skip to content

bapred

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

v1.1 · Jun 22, 2022 · GPL-2

Description

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.

Downloads

270

Last 30 days

11724th

507

Last 90 days

507

Last year

Trend: +13.9% (30d vs prior 30d)

CRAN Check Status

1 ERROR
1 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang ERROR
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (15 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Roman Hornung <hornung@ibe.med.uni-muenchen.de>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Roman",
                      family = "Hornung",
                      role = c("aut", "cre"),
                      email = "hornung@ibe.med.uni-muenchen.de"),
               person(given = "David",
                      family = "Causeur",
                      role = "aut"))
as necessary.

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
ERROR r-devel-linux-x86_64-debian-clang

package dependencies

Packages required but not available: 'sva', 'affyPLM'

Package suggested but not available for checking: ‘ArrayExpress’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Roman Hornung <hornung@ibe.med.uni-muenchen.de>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Roman",
                      family = "Hornung",
                      role = c("aut", "cre"),
                      email = "hornung@ibe.med.uni-muenchen.de"),
               person(given = "David",
                      family = "Causeur",
                      role = "aut"))
as necessary.

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 12 OK · 1 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Roman Hornung <hornung@ibe.med.uni-muenchen.de>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Roman",
                      family = "Hornung",
                      role = c("aut", "cre"),
                      email = "hornung@ibe.med.uni-muenchen.de"),
               person(given = "David",
                      family = "Causeur",
                      role = "aut"))
as necessary.

Package CITATION file contains call(s) to old-styl
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Roman Hornung <hornung@ibe.med.uni-muenchen.de>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Roman",
                      family = "Hornung",
                      role = c("aut", "cre"),
                      email = "hornung@ibe.med.uni-muenchen.de"),
               person(given = "David",
                      family = "Causeur",
                      role = "aut"))
as necessary.

Package CITATION file contains call(s) to old-styl

Dependency Network

Dependencies Reverse dependencies glmnet lme4 MASS sva affyPLM FNN fuzzyRankTests mnormt affy Biobase bapred

Version History

new 1.1 Mar 9, 2026