interchromosomal {diffloop} | R Documentation |
interchromosomal
restricts loops to those where anchors are observed
on different chromosomes
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
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