The proportion of same and different genotype parasite pairs in vivo and in vitro