neighbordt {GenomicDistributions} | R Documentation

## Internal helper function to calculate distance between neighboring regions.

### Description

Internal helper function to calculate distance between neighboring regions.

### Usage

    neighbordt(querydt)

### Arguments

`querydt` | A data table with regions grouped according to chromosome.

### Value

A numeric vector with the distances in bp

[Package GenomicDistributions version 1.2.0 Index]