Usage
Jaatha.initialize(demographic.model, jsfs, seed, cores = 1,
scaling.factor = 1, use.shm = FALSE, folded = FALSE,
smoothing = FALSE)
Arguments
demographic.model
The demographic model to use
jsfs
Your observed Joint Site Frequency Spectrum (JSFS). Jaatha uses
the JSFS as summary statistics.
seed
An integer used as seed for both Jaatha and the simulation software
cores
The number of cores to use in parallel. If 0, it tries to
guess the number of available cores and use them all.
scaling.factor
You can use this option if you have a large dataset. If
so, Jaatha only simulates only a fraction 1/scaling.factor of the
dataset and interpolates the missing data.
use.shm
Logical. Many modern linux distributions have a shared memory
file system available under /dev/shm. Set this to TRUE to use it for
temporary files. Usually gives a huge performance boost.
Warning: This option will be removed in a future version of
jaatha.
folded
If 'TRUE', Jaatha will assume that the JSFS is folded.
smoothing
If set to true, Jaatha uses a different way to summaries the
JSFS. Instead of binning certain areas, and fitting a glm per
area, only one glm is fitted for the complete JSFS, and the
position of the different entries is treated as a model
parameter. This