vaquerizaslab / fanc

FAN-C: Framework for the ANalysis of C-like data
GNU General Public License v3.0
106 stars 14 forks source link

fancplot has no parameters to set the resolution #123

Open yancychy opened 2 years ago

yancychy commented 2 years ago

Hi, when I use the fancplot, it is really good. But it seems it has no parameters to set the resolution. Sometimes, the figure is not clear. In addition, is it possible to plot the map between two different regions, such as chr1:1M-2M and chr:2M-3M? Thanks very much.

kaukrise commented 2 years ago

Hi, can you please tell me what type of file you are working with? (Juicer, Cooler, FAN-C?)

Plotting off-diagonal regions has limited support on the command line with fancplot. If you want to try this with FAN-C, please have a look at the Python API (it accepts region tuples of the sort you specified), otherwise we would recommend the powerful HiGlass Browser for this purpose.

yancychy commented 2 years ago

Thanks Kaukrise. I will try Higalss. I am working on juicer (.hic). I tired the code using two regions but failed.

gf = fancplot.GenomicFigure([p_Rump, p_mock2, p_diff], ticks_last=True) fig, axes = gf.plot(("chr3R:6000000-7100000", "chr3R:16600000-17000000"))