Description Usage Arguments Value Examples
subsetRegionAB
returns a loops object where one anchor
maps to regionA and the other maps to region B
1 2 3 4 | subsetRegionAB(dlo, regionA, regionB)
## S4 method for signature 'loops,GRanges,GRanges'
subsetRegionAB(dlo, regionA, regionB)
|
dlo |
A loops object |
regionA |
A GRanges object |
regionB |
A GRanges object |
A loops object
1 2 3 4 5 6 7 | # Return the width for loops
library(GenomicRanges)
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
regA <- GRanges(c('1'),IRanges(c(36000000),c(36100000)))
regB <- GRanges(c('1'),IRanges(c(36200000),c(36300000)))
splits <- subsetRegionAB(loops.small, regA, regB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.