filterSpanningLoops: Retain loops spanning some genomic feature

Description Usage Arguments Details Value Examples

Description

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

Usage

1
2
3
4
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

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

diffloop documentation built on Nov. 8, 2020, 5:48 p.m.