Learn R Programming

bapred (version 1.1)

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

Description

Performs addon quantile normalization by using documentation by value (Kostka & Spang, 2008).

Usage

qunormaddon(params, x)

Arguments

params

object of class qunormtrain. Contains parameters necessary for addon quantile normalization.

x

matrix. The covariate matrix of the new data. Observations in rows, variables in columns.

Value

The covariate matrix of the test data after addon quantile normalization. Observations in rows, variables in columns.

Details

This function uses code from the off-CRAN package docval, version 1.0.

References

Kostka, D., Spang, R. (2008). Microarray based diagnosis profits from better documentation of gene expression signatures. PLoS Computational Biology 4(2):e22, <10.1371/journal.pcbi.0040022>.

Examples

Run this code
# NOT RUN {
data(autism)
Xtrain <- X[batch==1,]
Xtest <- X[batch==2,]

params <- qunormtrain(x=Xtrain)

Xtrainnorm <- params$xnorm

Xtestaddonnorm <- qunormaddon(params, x=Xtest)
# }

Run the code above in your browser using DataLab