This is the most common way to handle this, but we should give the option of having both alleles in a homozygous type be counted. Something like: HLA_mismatch_number_HvG(GL_string_recip, GL_string_donor_homozygous, locus, homozygous_count = 2), with 1 being the default.
The mismatch functions count a homozygous result as a single mismatch:
This is the most common way to handle this, but we should give the option of having both alleles in a homozygous type be counted. Something like:
HLA_mismatch_number_HvG(GL_string_recip, GL_string_donor_homozygous, locus, homozygous_count = 2)
, with 1 being the default.