Question: MAnorm output as DiffBind input.
gravatar for ajeet
8 weeks ago by
ajeet0 wrote:

Hello Everyone/Rory,

I'm working on ChIP and ATAC data sets analyses, however, I need help at this point. My goal is to use pre-normalised data (e.g. using MAnorm) as DiffBind input so that later I can create contrast list (dba.contrast), reports ( and plot (dba.plotXYZ).

Question: Is there a way by which I could use the output (MAnorm_result_commonPeak_merged.xls) obtained after MAnorm normalization as an input for DiffBind?

Any help or recommendation is appreciated. 



FYI: I'm aware of these posts e.g.

 question about DiffBind

Raw Count Matrix from DiffBind

ADD COMMENTlink modified 8 days ago • written 8 weeks ago by ajeet0
gravatar for Rory Stark
7 weeks ago by
Rory Stark2.3k
CRUK, Cambridge, UK
Rory Stark2.3k wrote:

I'm looking now adding features to DiffBind to give much more fine-grained control over the normalization, including adding pre-normalized data.

In the meantime, there is a feature that can be used for this. See the man page for dba.peakset(), specifically the Counts parameter. You can input count values explicitly using this parameter, or by writing them to files and using a Counts column in your samplesheet; see man page for dba(). Note that you should not call dba.count() if you are using the Counts parameter.

If you do not want these counts to be further normalized, you should execute the following line of code on your DBA object (myDBA):

myDBA$class[8,] <- 1e+06

This will set all the library sizes to be the same and prevent additional normalization, provided you use the DBA_DESEQ2 method with bFullLibrarySize=TRUE in your call to dba.analyze().


ADD COMMENTlink modified 7 weeks ago • written 7 weeks ago by Rory Stark2.3k
gravatar for ajeet
8 days ago by
ajeet0 wrote:

Thanks! Rory,

Sounds promising. Let me try this out and will get back to you.


ADD COMMENTlink written 8 days ago by ajeet0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 356 users visited in the last hour