R/variantkey.R
FindVrChromposRange.RdSearch for the specified CHROM-POS range and returns the first occurrence of rsID in the VR file.
FindVrChromposRange(chrom, pos_min, pos_max, first = 0, last = vk.env$vkrs_$NROWS, mc = vk.env$vkrs_$MC)
| chrom | Chromosome encoded number. |
|---|---|
| pos_min | Start reference position, with the first base having position 0. |
| pos_max | End reference position, with the first base having position 0. |
| first | First element of the range to search (min value = 0). |
| last | Element (up to but not including) where to end the search (max value = nitems). |
| mc | Memory-mapped columns object as retured by MmapVKRSfile. |