Find the closest feature to a given set of genomic regions
Usage
ClosestFeature(regions, annotation, ...)
Arguments
regions
A set of genomic regions to query
annotation
Annotation information. Can be a GRanges object or an EnsDb object.
If an EnsDb object is provided, protein-coding genes will be extracted from the
object and only the closest protein coding genes are reported. If a GRanges
object is provided, no filtering is performed and the closest genomic range
is reported.