Learn R Programming

bapred (version 1.1)

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

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.

Copy Link

Version

Install

install.packages('bapred')

Monthly Downloads

261

Version

1.1

License

GPL-2

Maintainer

Last Published

June 22nd, 2022

Functions in bapred (1.1)

fabatchaddon

Addon batch effect adjustment using FAbatch
kldist

Kullback-Leibler divergence between density of within and between batch pairwise distances
bametric

Diverse metrics for quality of (adjusted) batch data
X

Covariate matrix of dataset autism
autism

Autism dataset
bapred-package

The bapred package
bapred-internal

Internal bapred functions
ratioa

Batch effect adjustment using Ratio-A
avedist

Average minimal distance between batches
meancenter

Batch effect adjustment by mean-centering
y

Target variable of dataset autism
ratioaaddon

Addon batch effect adjustment for Ratio-A
qunormaddon

Addon quantile normalization using ``documentation by value'' (Kostka & Spang, 2008)
qunormtrain

Quantile normalization with ``documentation by value'' (Kostka & Spang, 2008)
svaba

Batch effect adjustment using SVA
svabaaddon

Addon batch effect adjustment using frozen SVA
meancenteraddon

Addon batch effect adjustment for mean-centering
combatbaaddon

Addon batch effect adjustment using ComBat
rmaaddon

Addon RMA normalization using ``documentation by value'' (Kostka & Spang, 2008)
sepscore

Separation score as described in Hornung et al. (2016)
corba

Mean correlation before and after batch effect adjustment
rmatrain

RMA normalization with ``documentation by value'' (Kostka & Spang, 2008)
noba

No batch effect adjustment
ba

Batch effect adjustment using a method of choice
batch

batch variable of dataset autism
nobaaddon

No addon batch effect adjustment
ratiog

Batch effect adjustment using Ratio-G
ratiogaddon

Addon batch effect adjustment for Ratio-G
skewdiv

Skewness divergence score
diffexprm

Measure for performance of differential expression analysis (after batch effect adjustment)
fabatch

Batch effect adjustment using FAbatch
pvcam

Proportion of variation induced by class signal estimated by Principal Variance Component Analysis
combatba

Batch effect adjustment using ComBat
pcplot

Visualization of batch effects using Principal Component Analysis
standardizeaddon

Addon batch effect adjustment for standardization
standardize

Batch effect adjustment by standardization
baaddon

Addon batch effect adjustment