Limma - Using removeBatchEffect before differential expression analysis
1
0
Entering edit mode
jmoon1194 • 0
@jmoon1194-20137
Last seen 7 months ago
United States

For a dataset I'm working on, we would like to use the limma package for differential expression analysis. We are using limma::removeBatchEffect (doing it for downstream analysis) before using limma for differential expression analysis. Would it be okay to still include the batch covariate in the model to account for degrees of freedom, even though it's been already corrected for?

Thank you in advance

limma batch effect differential expression • 1.5k views
ADD COMMENT
5
Entering edit mode
@james-w-macdonald-5106
Last seen 20 hours ago
United States

Using removeBatchEffect and then adding in the covariate to the model is what you would need to do in order to account for the lost degrees of freedom that were used to correct for the batch effect. But that's not really how you should do it. Instead you should just put the batch effect in your model rather than doing this two-step approach.

ADD COMMENT

Login before adding your answer.

Traffic: 469 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