Skip to contents

This function reduces the bait and/or oe regions of a linkSet object and optionally counts interactions, while maintaining the original length of the linkSet.

Usage

# S4 method for class 'linkSet'
reduceRegions(x, region = "both", countInteractions = TRUE, ...)

Arguments

x

A linkSet object

countInteractions

Logical, whether to count interactions after reducing (default: TRUE)

...

Additional arguments passed to GenomicRanges::reduce

reduceBait

Logical, whether to reduce bait regions (default: TRUE)

reduceOE

Logical, whether to reduce other end (oe) regions (default: TRUE)

Value

A reduced linkSet object with the same length as the input