range2rangeDistance: Function to calculate distances to user defined ranges

Description Usage Arguments Value Author(s)

View source: R/range2rangeDistance.R

Description

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

Usage

1
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 Dec. 5, 2018, 9:59 a.m.