Description Usage Arguments Details Value Examples
loopWidth
returns the width of a loop, which is defined as the
distance between the anchors containing a loop
1 2 3 4 |
dlo |
A loops object |
This function returns a positive integer value of the number of basepairs that separate two loops. If they are on separate chromosomes, it still returns a value, but it will be non-sensical, so consider subsetting to only intrachromosomal loops. Also, self-loops will return a postive number that is the inter-anchor width. These loops should be handled using the removeSelfLoops() function.
An integer vector
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.