distance_func {preciseTAD} | R Documentation

## Helper function used to create (log2) distance type feature space

### Description

Helper function used to create (log2) distance type feature space

### Usage

    distance_func(binned_data_center_gr, annot_data_center_gr)

### Arguments

`binned_data_center_gr` | A GRanges object of width 1
`annot_data_center_gr` | A GRanges object of width 1

### Value

A vector of log2 distances to the nearest overlap

[Package preciseTAD version 1.0.0 Index]