Question: Diffbind batch effect blocking error
0
gravatar for rm1238
11 days ago by
rm12380
rm12380 wrote:

Hello Rory,

I am experiencing trouble trying to perform a dba with blocking factor (replicate in my case). My current dba object looks like this, and to my eyes, it has the correct format, indicating the Replicate metadata in the corresponding column

Escapeall ID Condition Treatment Replicate Caller Intervals FRiP 1 CtrlD81 Ctrl 0d 1 counts 127618 0.30 2 CtrlD82 Ctrl 0d 2 counts 127618 0.38 7 TreatD81 Treat 8d 1 counts 127618 0.36 8 TreatD8_2 Treat 8d 2 counts 127618 0.36

However, once I try to perform the analysis using the blocking factor, the following error appears:

Escapeallblock <- dba.analyze(Escapeall,block=DBAREPLICATE) Error in dba.analyze(Escapeall, block = DBAREPLICATE) : unused argument (block = DBA_REPLICATE)

I am failing to understand where the error is coming from, as the Replicate column is present in the sample sheet.

I am using R studio 1.2.1335 on a Mac OS 10.14.6

Thank you very much for your help,

Ricardo

ADD COMMENTlink modified 11 days ago by Rory Stark2.8k • written 11 days ago by rm12380
Answer: Diffbind batch effect blocking error
0
gravatar for Rory Stark
11 days ago by
Rory Stark2.8k
CRUK, Cambridge, UK
Rory Stark2.8k wrote:

block is not a parameter to dba.analyze(). If you want to do a blocking contrast, you need to add it explicitly using dba.contrast().

ADD COMMENTlink written 11 days ago by Rory Stark2.8k

Thanks a lot for the reply.

Cheers,

Ricardo

ADD REPLYlink written 11 days ago by rm12380

Thanks a lot for the reply.

Cheers,

Ricardo

ADD REPLYlink written 11 days ago by rm12380
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 16.09
Traffic: 300 users visited in the last hour