GetAlleleCt function

Returns the effective number of alleles for a variant. Note that if no pvar was provided to the NewPgen() call, this function may return 2 even at multiallelic variants, since the .pgen may not store allele-count information.

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

Useful links