simulator_scrm | R Documentation |
This function adds the simulator 'scrm' to the list of available simulators.
It is provided via the CRAN package scrm and should be always installed
alongside with coala. It should be activated automatically, and this
function is only needed to change it priority
.
activate_scrm(priority = 400)
priority |
The priority for this simulator. If multiple simulators can simulate a model, the one with the highest priority will be used. |
Paul R. Staab, Sha Zhu, Dirk Metzler and Gerton Lunter (2015). "scrm: efficiently simulating long sequences using the approximated coalescent with recombination." Bioinformatics, 31(10), pp. 1680-1682. http://dx.doi.org/10.1093/bioinformatics/btu861
Other simulators:
simulator_ms
,
simulator_msms
,
simulator_seqgen
# Change scrm's priority
model <- coal_model(10, 1) + feat_mutation(5)
model # scrm is used by default
activate_scrm(250)
model # Now ms is used instead (if installed)
activate_scrm(550)
model # Now scrm is used again
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.