make_InteractionSet {HiCcompare} | R 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)

[Package HiCcompare version 1.10.0 Index]