R/variantkey.R
GetNextVrRsidByVariantKey.Rd
Get the next rsID for the specified VariantKey in the VR file, or 0 if not found This function can be called in a loop to get all rsIDs that are associated with the same VariantKey (if any).
GetNextVrRsidByVariantKey(vk, pos, last = vk.env$vkrs_$NROWS, mc = vk.env$vkrs_$MC)
vk | VariantKey to search. |
---|---|
pos | Current item. |
last | Element (up to but not including) where to end the search (max value = nitems). |
mc | Memory-mapped columns object as retured by MmapRSVKfile. |