countsBetweenAnchors {GenomicInteractions} | R Documentation

## Summarise interactions between defined anchors

### Description

Calculate the number of of paired-end reads mapping between a defined set of anchors. This function will ignore counts present in the input data.

### Usage

    countsBetweenAnchors(x, y, ...)

    ## S4 method for signature 'GInteractions,GRanges'
    countsBetweenAnchors(x, y,
      ignore_overlaps = FALSE, ...)

### Arguments

`x` | A GInteractions object
`y` | A GenomicRanges object
`...` | Extra parameters to pass to findOverlaps
`ignore_overlaps` | Allow overlapping anchors. Use this when you have overlapping anchors but be careful with multi-mapping. The "within" option can help with this.

### Value

A GInteractions object with annotated counts between anchors

[Package GenomicInteractions version 1.14.0 Index]