An S4 class storing generic parameters used throughout the workflow
titlea title for the simulation. Used in labelling of output files.
datedatestamp for the simulation.
quietlogical determining whether to limit progress reports.
questiona single character representing type of analytical question being addressed. Can be one of: (n)ull, p(o)wer, (p)erformance.
simulator.typea single character representing which type of simulator to use. Can be one of: (c)oalescent or (f)orward-time.
simulatora three character code representing which simulator is being run. Currently codes for fastsimcoal(fsc) and rmetasim(rms) exist.
scenariosa list of scenario.params objects.
num.sim.repsnumber of replicates to run.
sim.funca function that runs one replicate of the simulator.
Must take and return only a skeleSim.params object.
current.scenarionumber of current scenario being run.
current.replicatenumber of current replicate within current scenario being run.
rep.sampleresult of last call to sim.func.
rep.analysis.funca function that analyzes the results of one simulation replicate.
num.perm.repsnumber of permutation replicates to run for population structure statistics.
rep.resultresult from last call to rep.analysis.func.
analysis.resultsa matrix containing result of all replicate analyses.
sim.summary.funca function to summarize rep.analysis.
summary.resultsa list containign result from call to
sim.summary.func.
sim.check.funca function to check the parameters object prior to running the simualtions
sim.scen.checksa matrix containing results of 'checks' on scenario elements (T/F)
timinglist containing elapsed time for a simulation
other.checksa vector containing results of 'checks' on other param object elements
scenario.repsa two column matrix describing which iteration matches which scenario/replicate
analyses.requestedvector of logicals specifying "Global", "Locus", or "Pairwise" analyses have been requested.
num.popsnumber of populations.
pop.sizea vector num.pop long giving size of each population.
sample.sizea vector num.pop long giving the number of
samples to take from each population.
migrationa list of one or more num.pop x num.pop matrices
giving the migration rates between each population.
locus.typea character representation of what type of marker to simulate. Can be "dna", "msat", or "snp".
mig.helpera list of flags and values that are needed for the shiny interface but are not needed for the simulation itself. Makes it easier to keep track of different ways to specify migration matrices for different scenarios. List elements will include migration model, rows and columns of landscape and distance function.
num.locinumber of msat or snp loci to simulate.
sequence.lengthnumber of DNA base pairs to use.
mut.ratemutation rate for DNA or msat.
simulator.paramsan object storing simulator-specific parameters. Can be a list or a simulator-specific class.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.