This callback specifies the code should be called to set up the simulation.
For details on what you can do in an initialize()
callback code blocks see
SLiM Manual: page 516
initialize()
None
This is documentation for a function in the SLiM software, and has been modified from the official manual, which can be found here: http://benhaller.com/slim/SLiM_Manual.pdf. This documentation is Copyright © 2016-2020 Philipp Messer. All rights reserved. More information about SLiM can be found on the official website: https://messerlab.org/slim/
Other callbacks:
early()
,
first()
,
fitnessEffect()
,
fitness()
,
interaction()
,
late()
,
mateChoice()
,
modifyChild()
,
mutationEffect()
,
mutation()
,
recombination()
,
reproduction()
,
slim_callbacks()
,
survival()
slim_block(initialize(), {
initializeMutationRate(1e-7)
initializeMutationType("m1", 0.5, "f", 0.0)
initializeGenomicElementType("g1", m1, 1.0)
initializeGenomicElement(g1, 0, 99999)
initializeRecombinationRate(1e-8)
})
#> A slimr_block:
#> <slimr_script[1]>
#> block_init:initialize() {
#> initializeMutationRate(1e-07);
#> initializeMutationType("m1", 0.5, "f", 0);
#> initializeGenomicElementType("g1", m1, 1);
#> initializeGenomicElement(g1, 0, 99999);
#> initializeRecombinationRate(1e-08);
#> }