Is it possible to remove 3 batches categories using limma
1
0
Entering edit mode
Matan G. ▴ 60
@matan-g-22483
Last seen 2.7 years ago

Hi all,

I wanted to know if it is possible to remove 3 batches using "limma". I have sequencing data with three possible batch effects: age, gender and working sets.

As far as I understand, using limma's "removeBatchEffect" enables to remove only two batches categories by defining "batch" and "batch2"

removeBatchEffect(x, batch=NULL, batch2=NULL, covariates=NULL,
              design=matrix(1,ncol(x),1), ...)

Is there a way to remove 3 or more batches?

Best

limma • 3.4k views
ADD COMMENT
2
Entering edit mode
@gordon-smyth
Last seen 1 hour ago
WEHI, Melbourne, Australia

Yes, you can use the covariates argument to remove any number of batch factors, see

ADD COMMENT

Login before adding your answer.

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