Question: Can we use previous estimated ComBat model to correct batch effects for new data?
0
gravatar for Minstein
9 months ago by
Minstein130
Minstein130 wrote:

Hi,

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, BP

ADD COMMENTlink modified 9 months ago by Kevin Blighe53k • written 9 months ago by Minstein130
0
gravatar for Kevin Blighe
9 months ago by
Kevin Blighe53k
Kevin Blighe53k wrote:

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.

ADD COMMENTlink written 9 months ago by Kevin Blighe53k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 834 users visited in the last hour