interSiteDistances: Obtain distances between consecutive regions

View source: R/get_enhancer_clusters.R

interSiteDistancesR Documentation

Obtain distances between consecutive regions

Description

Obtain distances between consecutive regions

Usage

interSiteDistances(gr)

Arguments

gr

Character with the name of the file containing peaks or GRanges object.

Value

A vector of the same length as gr containing the distances to the following region. When there is no following region (i.e. end of a chromosome), returns NA.


mireia-bioinfo/meowmics documentation built on July 29, 2023, 10 p.m.