hic2network: HiC to network data format

View source: R/main.R

hic2networkR Documentation

HiC to network data format

Description

It converts Hi-C dataframe to network object.

Usage

hic2network(ftab)

Arguments

ftab

three-column data composed of locus1, locus2 and value

Details

Convert HiC to network data format

Value

An igraph object representing statistically significant chromatin interactions.

Author(s)

Sora Yoon, PhD

Examples

# 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)


HiCociety documentation built on Feb. 16, 2026, 5:10 p.m.