Skip to content
Prev 14782 / 21318 Next

[Bioc-devel] Call for collaborators/advice

Hi Luke,

Do you mean bins or bin pairs?

If you want to just bin the coverage in terms of the linear genome, 
there should be ways to do that outside of InteractionSet or 
GenomicInteractions. This is just dealing with standard genomic interval 
data; extract the anchor coordinates and plug it in elsewhere.

If you want to collate region pairs into bin pairs; I don't know of a 
dedicated function to do this from a GInteractions object (diffHic only 
does this from raw read data). You'll need to figure out what to do to 
regions that cross bin boundaries.

The simplest way to mimic this behaviour right now is to generate 
another GInteractions object containing ALL POSSIBLE bin pairs (use 
combn with a constant set of bin regions) and plug that into 
countOverlaps. This will generate loads of zeroes, though, so is not the 
most efficient way to do this. You could get a sparser form with 
linkOverlaps but this requires more work to get the counts.

I have some more thoughts about the Bioconductor Hi-C infrastructure, 
but my laptop battery's running out and I left my charger in my new 
apartment. So that'll have to wait until tomorrow.

-A
On 22/03/2019 09:31, Luke Klein wrote: