ReadAlleles function

Loads the variant_numth variant, and then fills acbuf with integer allele codes, where each column of the buffer corresponds to a sample. An allele code of 0 corresponds to the REF allele, 1 to the first ALT, 2 to the second ALT, etc. Missing hardcalls are represented by a pair of NA codes.

  • Maintainer: Christopher Chang
  • License: LGPL (>= 3)
  • Last published: 2026-01-17

Useful links