make_InteractionSet: Convert HiCdiff results to InteractionSet object

View source: R/make_InteractionSet.R

make_InteractionSetR Documentation

Convert HiCdiff results to InteractionSet object

Description

Convert HiCdiff results to InteractionSet object

Usage

make_InteractionSet(hic.table)

Arguments

hic.table

A hic.table object.

Details

This function will convert data from HiCdiff results in the hic.table object format to the InteractionSet format which makes use of GRanges objects.

Value

An object of class InteractionSet

Examples

# create hic.table
data(HMEC.chr22)
data(NHEK.chr22)
hic.table <- create.hic.table(HMEC.chr22, NHEK.chr22, chr='chr22')
# convert to InteractionSet
gi <- make_InteractionSet(hic.table)

dozmorovlab/HiCcompare documentation built on June 30, 2023, 3:09 a.m.