Skip to contents

Convert GInteractions with bait range and oe ranges to linkSet

Usage

# S4 method for class 'GInteractions,GRanges,GRanges'
baitGInteractions(x, geneGr, peakGr, geneSymbol = NULL)

Arguments

geneGr

A GRanges object representing genes

peakGr

A GRanges object representing peaks

geneSymbol

A character vector with same length as geneGr or column name in mcols(geneGr) for gene symbols

gi

A GInteractions object

Value

A linkSet object