calcNeighborDist {GenomicDistributions} | R Documentation |
Group regions from the same chromosome together and calculate the distances between neighboring regions. Distances are then lumped into a numeric vector.
calcNeighborDist(query)
query |
A GRanges or GRangesList object. |
A numeric vector or list with different vectors containing the distances within neighboring regions.
dist = calcNeighborDist(vistaEnhancers)