You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
because we can have more than one subpopulation per tree sequence and we want to calculate some stats to each subpop individually, I need to subset my genotype matrix.
it is possible to get the indices belonging to a population for each haploid genome using tskit with ts.samples(population=i), but not for diploid genomes. If I were to treat the genotype matrix with ploidy=2, I wouldn't be able to do the subsetting this way.
ploidy should not matter for the stats we are using so far (pi and dxy), but could be an issue with other stats.
The text was updated successfully, but these errors were encountered:
see cc6c9cd
because we can have more than one subpopulation per tree sequence and we want to calculate some stats to each subpop individually, I need to subset my genotype matrix.
it is possible to get the indices belonging to a population for each haploid genome using tskit with
ts.samples(population=i)
, but not for diploid genomes. If I were to treat the genotype matrix with ploidy=2, I wouldn't be able to do the subsetting this way.ploidy should not matter for the stats we are using so far (pi and dxy), but could be an issue with other stats.
The text was updated successfully, but these errors were encountered: