Description Usage Arguments Details Value Examples
interchromosomal
restricts loops to those where anchors are observed
on different chromosomes
1 2 3 4 | interchromosomal(dlo)
## S4 method for signature 'loops'
interchromosomal(dlo)
|
dlo |
A loops object |
This function subsets the loops
object into only those loops that
have anchors on different chromosomes
A loops object with all loops on different chromosomes
1 2 3 4 5 6 7 8 9 10 | rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
# Compute number of interactions on same chromosome
dim(intrachromosomal(loops.small))
samechromo <- intrachromosomal(loops.small)
# Compute number of interactions on same chromosome
# dim(interchromosomal(loops.small))
# This will throw and error since the toy only has intrachromosomal loops
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.