“…the R package SIMPLEGEN, https://mrc-ide.github.io/SIMPLEGEN/ ). Agent-based models linked to genomic processes have been used to estimate R 0 and changes in transmission intensity [ 57 , 4 ], to investigate the relationship between different descriptive statistics of parasite genetic data and transmission intensity [ 58 , 55 ], to study the effect of heterogeneity on the spatial distribution of multiclonal infections and on the stability of transmission [ 38 ], and to study the effect of selective pressures on evolution under different transmission settings [ 59 ]. These models are used to simulate data under arbitrarily complex scenarios whose parameters are known.…”