fastsimcoalsims_Par | R Documentation |
fastsimcoalsims_Par
Function to run fastsimcoalsims in parallel. This is modified from Paul Hime's function of the same name. Implemented in the function rundelimitR. Simulates the site frequency spectrum for a set of input models each defined by their .est and .tpl files.
fastsimcoalsims_Par(
prefix,
pathtofsc,
nreps = 10000,
wd = getwd(),
ncores = 2,
run.parallel = T
)
prefix |
Prefix used for .tpl and .est model files |
pathtofsc |
Path to the fastsimcoal2 executable |
nreps |
Number of replicate runs to do for each model. Default is 10000. |
wd |
Working directory. Default is to use the current working directory. |
ncores |
Number of cores to use |
run.parallel |
If simulations on different models should also be run in parallel. Default is TRUE. In some cases running in parallel causes weird issues and in such cases try changing this to FALSE. |
NULL. Results are written to working directory.
run_delimitR(vcf="PATH/TO/VCF",traitsfile="PATH/TO/TRAITSFILE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.