RunCombat_MSF: Function that runs the original Combat script where no model...

Description Usage Arguments Examples

Description

See ComBat_MSF. It accepts an ExpressionSet and returns also an ExpressionSet.

Usage

1
RunCombat_MSF(eset, g, covariates = NULL)

Arguments

eset:

object of class ExpressionSet

g:

factor defining the batches

covariates:

names of the covariates to be found in pData(eset)

Examples

1
2
3
4
abatch=ReadAffy()
abatch$Batch<-sapply(protocolData(abatch)$ScanDate,function(x){substr(x,1,10)}
eset<-rma(abatch)
RunCombat_MSF(eset,eset$Batch)

mssm-msf-2019/BiostatsALL documentation built on May 22, 2019, 12:16 p.m.