Extending models with custom SLiM code8 days ago
Introduction | Disclaimers and caveats | slendr / SLiM "API" | Referring to populations: population() Eidos function | Referring to times: tick() Eidos function | Referring to model times: model_time() Eidos function | Logging: write_log() Eidos function | Saving and re-starting simulation state: save_state() and reset_state() | Global constants | Practical examples | Putting it all together: running a customized slendr simulation | Putting it all together: parametrizing a customized slendr simulation | Programming slendr/SLiM extension snippets directly in R scripts | Customizing genomic architecture (selective sweep simulations)
