intervalsDist: intervalsDist

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/qualityControl.R

Description

Compute the distance of intrachromosomal contacts of a 'C' experiment

Usage

1
intervalsDist(x, use.zero=TRUE)

Arguments

x

object that inherits from class HTCexp

use.zero

if FALSE, the distance for non interacting regions (zero counts) are not reported

Details

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.

Value

A matrix of distances between genomic intervals

Author(s)

N. Servant

See Also

HTCexp-class

Examples

1
2
3
4
data(Nora_5C)

## Calculate distances between primers/intervals
d<-intervalsDist(E14$chrXchrX)

HiTC documentation built on Nov. 8, 2020, 8:27 p.m.