ComBat_MSF: Function that runs the original Combat script but returns...

Description Usage Arguments Examples

Description

Inputs and Outputs are the same as in ComBat.R

Usage

1
2
3
ComBat_MSF(expression_xls, sample_info_file, type = "txt", write = T,
  covariates = "all", par.prior = T, filter = F, skip = 0,
  prior.plots = T)

Arguments

exprs:

matrix of expression

g:

factor defining the batches #'

Examples

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

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