fsc.estimate | R Documentation |
Run fastsimcoal assuming that in dir.in
there are the tpl, est and obs
files properly named and formatted.It writes a fsc_run.txt file and execute
fsc in dir.in
fsc.estimate(
dir.in,
n = 5e+05,
L = 100,
maf = TRUE,
ncpu = 0,
nBatches = NULL,
fsc.cmd = "fsc2702",
fsc.path = "path"
)
dir.in |
The path where to run fsc |
n |
The number of coalescent simulations to approximate the expected SFS (-n option). This should be larger than 100,000. |
L |
The number of optimization cycles (-L option). It should be >50 |
maf |
Whether a MAF SFS (default) or a derived SFS is provided (if
|
ncpu |
The number of CPU (threads) to use in the analysis. Automatically
handle if |
nBatches |
The number of batches (-B option) |
fsc.cmd |
The command to use to call fsc (that may be different depending on the version installed) |
fsc.path |
The path where fsc is installed or |
If ncpu=0
and nBatches=NULL
, nBatches
is set to 12 (fsc
default value). If ncpu
>0 and nBatches=NULL
, nBatches
is
set to twice ]codenspu.
Excoffier L., Dupanloup I., Huerta-Sánchez E., Sousa V. C. and Foll M. (2013) Robust demographic inference from genomic and SNP data. PLoS genetics 9(10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.