filterSpanningLoops {diffloop} | R Documentation |
filterSpanningLoops
returns a loops object where the ends of the
anchors completely span one or more genomic feature (e.g. boundary)
filterSpanningLoops(dlo, gf) ## S4 method for signature 'loops,GRanges' filterSpanningLoops(dlo, gf)
dlo |
A loops object |
gf |
A GRanges object of features |
Rather than a simple overlap, the function by default requires a genomic locus to be completely contacints
An loops object
# Return the width for loops rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/') load(rda) w <- loopWidth(loops.small)