| intrachromosomal {diffloop} | R Documentation |
intrachromosomal restricts interactions to those where anchors are observed
on the same chromosomes
intrachromosomal(dlo) ## S4 method for signature 'loops' intrachromosomal(dlo)
dlo |
A loops object |
This function subsets the loops object into only those interactions that
have both anchors on the same chromosome
A loops object where all loops are on the same chromosome.
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)