Description Usage Arguments Details Value Author(s)
Return list of nearest distances between entries from two list
s of
GRanges
objects. See 'Details'.
1 | GetRelDistNearest(lst1, lst2)
|
lst1 |
A |
lst2 |
A |
The function uses GenomicRanges::distanceToNearest
to return the
nearest distances between the start positions of a GRanges
object
from lst1
and the corresponding GRanges
object from
lst2
with the same name (based on field seqnames
).
Note that distances are given as signed integer
s: Negative
distances correspond to pos(gr1) < pos(gr2), positive
distances correspond to pos(gr1) > pos(gr2).
A list of integer
vectors. See 'Details'.
Maurits Evers, maurits.evers@anu.edu.au
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.