Skip to main content

Table 1 Genotype coding for additive, dominant, and recessive models, with D being the risk allele

From: PyHLA: tests for the association between HLA alleles and diseases

Genotype Code
Additive Dominanta Recessiveb
DD 2 1 1
Dd 1 1 0
dd 0 0 0
  1. aD is dominant over d
  2. bD is recessive to d