intervalsDist {HiTC} | R Documentation |
Compute the distance of intrachromosomal contacts of a 'C' experiment
intervalsDist(x, use.zero=TRUE)
x |
object that inherits from class |
use.zero |
if FALSE, the distance for non interacting regions (zero counts) are not reported |
If A and B are the two sets of intervals and
s and e, the start and end of an interval, the distance is calculated as :
\min(|A_e - B_s|, |A_s - B_e|)
Only intrachromsomal contact maps can be use for this operation.
A matrix of distances between genomic intervals
N. Servant
data(Nora_5C) ## Calculate distances between primers/intervals d<-intervalsDist(E14$chrXchrX)