range2rangeDistance: Function to calculate distances to user defined ranges

View source: R/range2rangeDistance.R

range2rangeDistanceR Documentation

Function to calculate distances to user defined ranges

Description

This function calculates distance of each breakpoint of submitted GRanges-class object to its nearest user defined range defined in 'userTrack'.

Usage

range2rangeDistance(gr, userTrack, allow.overlap = FALSE)

Arguments

gr

A GRanges-class object.

userTrack

A GRanges-class object.

allow.overlap

Set to TRUE if overlaps between ranges stored in 'gr' with ranges stored in 'userTrack' should be allowed

Value

A GRanges-class object.

Author(s)

David Porubsky


daewoooo/primatR documentation built on Oct. 22, 2024, 9:41 p.m.