| hic2network | R Documentation |
It converts Hi-C dataframe to network object.
hic2network(ftab)
ftab |
three-column data composed of locus1, locus2 and value |
Convert HiC to network data format
An igraph object representing statistically significant chromatin interactions.
Sora Yoon, PhD
# This example might take a long time to run, so we wrap it in donttest{}
myhic=system.file('extdata', 'example.hic', package ='HiCocietyExample')
ftab=getContactFrequency(myhic,19,5000);
net = hic2network(ftab[1:100,]);
plot(net)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.