filterSpanningLoops {diffloop} | R Documentation

## Retain loops spanning some genomic feature

### Description

`filterSpanningLoops` returns a loops object where the ends of the anchors completely span one or more genomic feature (e.g. boundary)

### Usage

    filterSpanningLoops(dlo, gf)

    ## S4 method for signature 'loops,GRanges'
    filterSpanningLoops(dlo, gf)

### Arguments

`dlo` | A loops object
`gf` | A GRanges object of features

### Details

Rather than a simple overlap, the function by default requires a genomic locus to be completely contacints

### Value

An loops object

### Examples

    # Return the width for loops
    rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
    load(rda)
    w <- loopWidth(loops.small)

[Package diffloop version 1.16.0 Index]