extractRanges.Rd
Extract variant IDs from a gdb
based on a set of ranges.
extractRanges(object, ranges, padding = 250)
a gdb
object
Can be a data.frame, including at least 'CHROM','start', and 'end' columns or
a GenomicRanges::GRanges
object.
Number of basepairs to extend the search region beyond the specified genomic ranges to capture variants where the reference allele (REF) overlaps the input ranges, but the POS of the variant falls outside the ranges. This accounts for variants where the REF allele spans multiple base pairs.