gintervals.neighbors1 | R Documentation |
Finds neighbors between two sets of intervals (and does not return conflicting column names)
gintervals.neighbors1(
intervals1 = NULL,
intervals2 = NULL,
maxneighbors = 1,
mindist = -1e+09,
maxdist = 1e+09,
na.if.notfound = TRUE,
fields = NULL
)
intervals1 , intervals2 |
intervals |
maxneighbors |
maximal number of neighbors |
mindist , maxdist |
distance range for 1D intervals |
na.if.notfound |
if 'TRUE' return 'NA' interval if no matching neighbors were found, otherwise omit the interval in the answer |
fields |
select only these fields from |
a data frame containing the pairs of intervals from 'intervals1', intervals from 'intervals2' (with a suffix of '1', i.e. chrom1, start1 and end1), and an additional column named 'dist' ('dist1' and 'dist2' for 2D intervals) representing the distance between the corresponding intervals.
gintervals.neighbors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.