R: Error when using ComBat
1
0
Entering edit mode
7.6 years ago
kkj3083 • 0

I'm trying to use ComBat function in sva package. So, I followed example in http://jtleek.com/genstats/inst/doc/02_13_batch-effects.html

However,

Error in ComBat(dat = edata, batch = batch, mod = modcombat, par.prior = TRUE, : unused arguments (dat = edata, batch = batch, mod = modcombat)

was occurred. How can I fix it?

Thanks in advance

R sva ComBat • 2.7k views
ADD COMMENT
0
Entering edit mode
7.0 years ago

I see this is pretty old and I'm guessing you solved this by now, but I had a similar problem and was able to solve it by using batch=sif$batch with sif being my annotation file and batch being the column header where batch was stored.

ADD COMMENT

Login before adding your answer.

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