plot1D.results: Look at 1-D simulation results over landscape

Description Usage Arguments Value Author(s) References

View source: R/SimResults_Pop.R

Description

Makes 1-D plots over the landscape for population size, fitness, numbers of deleterious mutations, and environmental optimum match to the quantitative trait. Simulations must have been in 1 dimension for current implementation.

Usage

1
2
3
4
5
plot1D.results(input.fit.file, input.quanti.file = NULL,
  input.del.file = NULL, patches.x, patches.y, slope.opt = NULL,
  opt.rate.change = NULL, delay.env.change = NULL, generation, del.loci,
  xlimits = NULL, plot.legend = TRUE, Vs = NULL, quantiles = c(0.5,
  0.1))

Arguments

input.fit.file

The .fit file output from Nemo.

input.quanti.file

The .quanti file output from Nemo which contains genotypes for the quantitative trait.

input.del.file

The .del file output from Nemo which contains deleterious mutation genotypes.

patches.x

The number of patches on the landscape along the x-axis (parallel to expansion)

patches.y

The number of patches on the landscape along the y-axis (perpendicular to expansion)

slope.opt

The slope of the environmental optimum defined in the input file.

opt.rate.change

The rate of change of the environment per generation defined in the input file.

delay.env.change

The gneeration at which the environment starts changing, if it is not immediate.

generation

The current generation being plotted.

del.loci

The number of deleterious loci simulated.

xlimits

A smaller range on the x-axis to plot, if desired.

plot.legend

Whether to include a legend or not on the fitness and deleterious mutation number plots.

Vs

The value of selection variance.

quantiles

The value of the two quantiles to plot for the selection distribution around the optimum.

Value

Creates 1-D plots over the landscape for population size, fitness, numbers of deleterious mutations, and environmental optimum match to the quantitative trait.

Author(s)

Kimberly J Gilbert

References

Nemo is created and maintained by Fred Guillaume. The manual and source files are available online.


kjgilbert/aNEMOne documentation built on May 20, 2019, 10:25 a.m.