NOTE: This function is deprecated in favour of the pairdist function from the InteractionSet package.
getDistance(data, type=c("mid", "gap", "span"))DIList objectdata.
getDistance function examines each interaction in data$pairs and computes the distance between the corresponding regions on the linear genome.
Options to compute the distances are mid, for the distance between the midpoints of the regions; gap, for the distance of the interval lying between the regions (set to zero, if regions are overlapping); and span, for the total distance spanned by the interaction, including both regions.
Interchromosomal interactions are marked with NA.
squareCounts,
connectCounts