Closed MrLocuace closed 6 years ago
Ne
is an estimation based on two temporal points, not the "truth". The simulation has loci=[1]*50
so there are essentially 50 free recombining chromosomes so allele frequencies evolve separately. My guess is that the initial population has roughly equal allele frequency but evolution increase the variance of allele frequency. You can print/plot allele frequencies and check. If the population size is big enough Ne
should oscillate around the truth. You can enlarge population size and simulate for longer period and see.
loci=[1]*50
means 50 loci on 50 chromosomes. The estimates use all loci. For the loaded population you only need to specify the range of loci for the estimation, something like effectiveSize=range(your_number_of_loci)
.
You can apply these estimates to whatever populations. Remember these are "estimates". They will be "wrong" for your particular demographic model but the pattern of bias should be of interest. The example actually shows you how to estimate Ne based a fixed base temporary point and a moving temporary point, and the latter should reflect more "recent" Ne on a population with changing population size.
Thank you very much, Bo All the best, Luc
Dear Bo,
I'd like to ask you a couple of questions about the example provided here: http://simupop.sourceforge.net/manual_svn/build/statNeInterval.py
Thanks very much All the best, Luc