Limma - Using removeBatchEffect before differential expression analysis
Entering edit mode
jmoon1194 • 0
Last seen 3 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 • 634 views
Entering edit mode
Last seen 2 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.


Login before adding your answer.

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