time.
However in this example: http://www.molpopgen.org/2018/12/18/msprime.html#/9 initial sizes are 0.01 and 0.1 so I don't really understand how these can be absolute sizes...
Second, say I want to simulate
the coalescent for a sample of size 10
with an effective population size of 1000 and I want Ne to change (for example it doubles) at a given time in the past say at generation 500.
I then use:
example = msprime.
PopulationParametersChange(time=500, initial_size= 2000)msprime.simulate(sample_size = 10, Ne = 1000, demographic_events = example)
Thanks!
Elizabeth
First, in the documentation, initial_size is said to be the absolute diploid size of the population at the beginning of the time slice starting attime.
However in this example: http://www.molpopgen.org/2018/12/18/msprime.html#/9 initial sizes are 0.01 and 0.1 so I don't really understand how these can be absolute sizes...
Second, say I want to simulate
the coalescent for a sample of size 10 with an effective population size of 1000 and I want Ne to change (for example it doubles) at a given time in the past say at generation 500.
I then use:
example = msprime.
PopulationParametersChange(time=500, initial_size= 2000)and when I print the demography debugger for this event the first period before the demographic change has a effective size of 1.I was wondering how this is handled by msprime.simulate() ? Will it consider over the first period that the effective size is 1 or 1000 in this case:msprime.simulate(sample_size = 10, Ne = 1000, demographic_events = example)
--
Thanks!
Elizabeth
You received this message because you are subscribed to the Google Groups "msprime-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msprime-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/msprime-users/4d09b393-4e0f-4c31-ac63-48939c3eca59%40googlegroups.com.