Description Usage Arguments Value Note
Runs the appropriate findOverlaps
method and then for elements of
query
that overlap multiple elements of subject
chooses the
element of subject
that has the greater overlap. Ties are broken at
random.
1 | findMostOverlapping(query, subject, ignore.strand = FALSE)
|
query |
Any object for which a 'findOverlaps' method is defined, e.g.,
a |
subject |
Any object for which a 'findOverlaps' method is defined, e.g.,
a |
ignore.strand |
When set to |
An integer
vector containing for each query
the index
of the subject
that it most overlaps (NA
if there is no
overlap).
This was written for working with GRanges
objects. While it may work with other objects for which a
findOverlaps
method exists, these are untested and correctness is not
guaranteed. In particular, this will return an error if either the
query
or subject
are GTuples
or
GTuplesList
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.