Nothing
src/simulation.h). What differs between ancestry and sequence data lives
in two small model classes (src/models.h). This removes about 900 lines of
duplicated C++ code; the R interface is unchanged.mutation_rate > 0 therefore differ from version 2.1.14.pop_size individuals, in line with the other
simulation types.simulate_admixture() ignored ancestry_module(input_population = ...) for
single-population simulations and always started from a new random
population.morgan != 1.track_junctions = TRUE returned values around 1.8e19 when a chromosome had
no crossovers (unsigned underflow), and junction counts were off by one.
print.individual() also reported one junction too few.junctions, and did
not scale tracked markers by morgan.recombination_rate, crossovers were
placed proportional to marker position instead of marker spacing, so they
were concentrated towards the end of the chromosome.num_threads > 1 could reuse the
recombination map of an earlier simulation in the same R session, giving
wrong results or crashing R.calculate_allele_frequencies() measured frequencies at rescaled positions
when the last location was not 1.morgan.total_runtime, the frequency table
contained rows of zeros, the reported final generation was wrong, and the
last simulated generation was discarded. Sequence simulations with mutation
no longer stop early on fixation.calculate_ld() failed when the population was smaller than
sampled_individuals, and did not handle missing markers.set.seed(), and give the same result
for any value of num_threads.num_threads < 1 uses all available cores.calculate_ld() samples individuals at random. Without markers it uses 100
random markers, or up to 100 sites for sequence data.Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.