Can we use previous estimated ComBat model to correct batch effects for new data?
Entering edit mode
5.1 years ago
Min Dai ▴ 160


I am puzzled about this situation: if we have estimated a ComBat model for batch effects in dataset A, can we use this model to adjust batch effect for dataset B?

In another case, there are two batches, i.e., batch 1 and batch 2, in your dataset, but you just want to use 70% data of high quality to estimate and remove batch effects for batch 2 (if we set batch 1 as the reference batch). After estimating the model, we also need to adjust batch effects for the rest 30% data of batch 2, how can we do this?

Thanks in advance,

microarray RNA-Seq batch-effect • 1.3k views
Entering edit mode
5.1 years ago

I would question this approach, as it assumes that the batch effects are the same in the new data - this is a big assumption to make, though. If at all possible, just include batch as a covariate in your design formula(e) while making statistical inferences.

If you must directly remove batch somewhere, then use removeBatchEffect() from limma.


Login before adding your answer.

Traffic: 1536 users visited in the last hour
Help About
Access RSS

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

Powered by the version 2.3.6