Learn R Programming

SCAN.UPC (version 2.14.0)

BatchAdjustFromFile: Helper function for applying the ComBat batch-adjusting methodology to an ExpressionSet object

Description

This is a convenience function for adjusting an ExpressionSet object for batch effects.

Usage

BatchAdjustFromFile(expressionSet, batchFilePath)

Arguments

expressionSet
An ExpressionSet object that contains data to be adjusted for batch effects. This object should contain at least one phenoData column that indicates the batch number for each sample. Covariates may also be specified in other phenoData columns. Required.
batchFilePath
Tab-separated text file that indicates batch (and optionally, covariate information) for each sample. Required.

Value

An ExpressionSet object indicating expression levels after batch adjustment.