Description Usage Arguments Value Author(s)
View source: R/getNearestFeatureIndicesAndDistances.R
get index of features that closest to peak and calculate distance
1 2 3 4 5 6 7 8 9 |
peaks |
peak in GRanges |
features |
features in GRanges |
sameStrand |
logical, whether find nearest gene in the same strand |
ignoreOverlap |
logical, whether ignore overlap of TSS with peak |
ignoreUpstream |
logical, if True only annotate gene at the 3' of the peak. |
ignoreDownstream |
logical, if True only annotate gene at the 5' of the peak. |
overlap |
one of "TSS" or "all" |
list
G Yu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.