Search for the specified VariantKey and returns the first occurrence of rsID in the VR file, or 0 if not found.

FindVrRsidByVariantKey(vk, first = 0, last = vk.env$vkrs_$NROWS,
  mc = vk.env$vkrs_$MC)

Arguments

vk

VariantKey.

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.