DiffBind concentration calculation
1
0
Entering edit mode
igor ▴ 40
@igor
Last seen 10 months ago
United States

When you retrieve the differentially bound sites with dba.report(), there is a "Conc" column that shows the mean read concentration over all the samples (log2 normalized ChIP read counts with control read counts subtracted). Is there a way to calculate those numbers for arbitrary regions (not just differentially bound)?

diffbind chipseq • 1.5k views
ADD COMMENT
0
Entering edit mode
Rory Stark ★ 5.2k
@rory-stark-5741
Last seen 13 days ago
Cambridge, UK

Hi Igor-

If you set th=1 in the call to dba.report(), you'll get the stats for all the regions.

Cheers-

Rory

ADD COMMENT
0
Entering edit mode

Yes, I know, but those are the regions as determined by DiffBind. My question is if I want to look at arbitrary regions. For example, regions that were found in a different experiment.

ADD REPLY
0
Entering edit mode

Hi,

You can't probe arbitrary regions on the fly.  If you have a fixed list of regions, you can provide that when you count reads via the "peaks" option, as in

my_obj <- dba.count(...,peaks=myPeaks,...)

where peaks is a GRanges or other form of peak list (see the docs for details), then it will count and calculate everything on exactly those peaks.

Cheers

 - Gord

ADD REPLY

Login before adding your answer.

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