the homozygous_count = 1 argument is not needed. The output of this function will be the mismatched alleles, so should always output all mismatched alleles.
The output of no mismatches is showing up as character(0). The output for no mismatches should be NA.
homozygous_count = 1
argument is not needed. The output of this function will be the mismatched alleles, so should always output all mismatched alleles.character(0)
. The output for no mismatches should beNA
.