Homogenizer: Homogenize a Pair of two FORESEE Objects

Description Usage Arguments Value Examples

View source: R/Homogenizer.R

Description

The Homogenizer function reduces batch effects and homogenizes the data of a given TrainObject and TestObject.

Usage

1
Homogenizer(TrainObject, TestObject, HomogenizationMethod)

Arguments

TrainObject

Object that contains all data needed to train a model, including molecular data (such as gene expression, mutation, copy number variation, methylation, cancer type, etc. ) and drug response data

TestObject

Object that contains all data that the model is to be tested on, including molecular data (such as gene expression, mutation, copy number variation, methylation, cancer type, etc. ) and drug response data

HomogenizationMethod

Method for homogenizing data of the TrainObject and TestObject. The function 'ComBat' uses the batch effect removal ComBat of the sva package, The function 'quantile' uses the quantile normalization of the preprocessCore package, The function 'limma' uses the removeBatchEffect function of the limma package, The function 'YuGene' uses the function of the YuGene package by Le Cao, The function 'RUV' regresses out unwanted variation using the 10 principal components of negative control genes (here: list of human housekeeping by Eisenberg and Levanon (2013)) The function 'RUV4' regresses out unwanted variation using the ruv package, The function 'none' does not do any batch effect correction. The function 'listInputOptions("Homogenizer")' returns a list of the possible options. Instead of choosing one of the implemented options, a user-defined function can be used as an input.

Value

TrainObject

The TrainObject with homogenized features according to the chosen TestObject.

TestObject

The TestObject with homogenized features according to the chosen TrainObject.

Examples

1
Homogenizer(GDSC,GSE6434,"quantile")

JRC-COMBINE/FORESEE documentation built on Jan. 24, 2020, 1:19 a.m.