Description Usage Arguments Value Note Author(s)
Remove overlapping genes
1 2 |
x |
An object of type |
incomparables |
Not currently used (present for S3 compatibility). |
... |
Not currently used. |
An object of type feat
with overlapping genes removed.
If the features are scored, then the feature with the highest score
is kept; otherwise the feature with the longest length. If
x is a pointer to an object stored in C, the return value will also
be a pointer (and x will be altered to the return value).
Long UTRs can have undesirable effects; may want to filter these out first.
If x is a pointer to an object in C, it will be modified (to the return value).
VERY IMPORTANT: this function is not currently implemented to look at chromosomes (ie the seqname field of the feature). Therefore any genes which have overlapping coordinates REGARDLESS OF THE CHROMOSOME will be pruned to a single "non-overlapping" gene. To get around this, first subset the features by chromosome and call uniq.feat on each subset.
Also, this algorithm considers genes to be overlapping even if they are on different strands. If this is undesirable, then subset the features by strand as well as chromosome.
Melissa J. Hubisz and Adam Siepel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.