The correct specification of the model matrix to ComBat
0
0
Entering edit mode
Sam ▴ 10
@sam-21502
Last seen 10 weeks ago
Jerusalem

When using the ComBat function for batch correction, what is the difference between the following two specifications of the matrix model :

mod <- model.matrix(~1, dat=colData)
mod <- model.matrix(~ ConditionOfInterest, dat=colData)

When calling

ComBat(dat=expressionMatrix, batch=colData$Batch,  mod = mod)
ComBat sva • 936 views
ADD COMMENT

Login before adding your answer.

Traffic: 625 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6