R/variantkey.R
GetNextRvVariantKeyByRsid.RdGet the next VariantKey for the specified rsID in the RV file, or 0 if not found This function can be called in a loop to get all VariantKeys that are associated with the same rsID (if any).
GetNextRvVariantKeyByRsid(rsid, pos, last = vk.env$rsvk_$NROWS, mc = vk.env$rsvk_$MC)
| rsid | rsID 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. |