Hi:

I want count the number of heterozygous individuals.

for autosomes:

I use `(AN/2 - nhomalt)`

as the heterozygous individuals. Is it correct ?

for X :

I use `(AN_female/2 - nhomalt_female)`

as the female heterozygous individuals, as for male , I think `AN = nhomalt + AC`

. so `AC = male heterozygous individuals`

. but the data tell me it's wrong.

I don't know how to count the number of heterozygous individuals....maybe there's something wrong with my thinking....pls help me...

Thanks in advance!

Thanks for your answer.

But i wander that what's the diffence between the

`(AN/2 - nhomalt)`

and`AC - (2 x nhomalt)`

.I think they are the same answer.

But obviously, the results are different

I think it is because

`nhomalt`

is the number of individuals homozygous for thealternate allele.`AN/2`

= total number of individuals, but that includes individuals homozygous for the reference allele, heterozygotes, and individuals homozygous for the alternate allele (`nhomalt`

). So,`AN/2 - nhomalt = heterozygotes + reference homozygotes`

, not only the number of heterozygotes.