How to run plotPlaid in diffHic Package using output from hic Pro
1
0
Entering edit mode
Andrew • 0
@andrew-11520
Last seen 8.3 years ago

Hi Aaron,

Is there any way to run plotPlain in diffHic package using output from HiC-Pro? saying using a precomputed HiC matrix from HiC-Pro, and a bed file with bin coordinates. Thanks.

 

plotPlaid diffHic • 1.3k views
ADD COMMENT
0
Entering edit mode
Aaron Lun ★ 28k
@alun
Last seen just now
The city by the bay

The easiest approach is to take the BAM files produced by HiC-Pro, use preparePairs to generate HDF5 files, and then use those files in plotPlaid. Trying to do so from a precomputed matrix is somewhat confusing as you'll have to pretend that your bins are fragments in order to use plotPlaid.

Alternatively, I guess you could use plotDI for plotting instead. This requires that you generate an InteractionSet from the HiC-Pro contact matrix, and then pretend the normalised intensities are log-fold changes. It should be trivial to construct a ContactMatrix object from the matrix and coordinates; you can then use the deflate method to easily convert this to an InteractionSet.

ADD COMMENT

Login before adding your answer.

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