Learn R Programming

strataG (version 1.0.3)

genepop: Run GENEPOP

Description

Format output files and run GENEPOP.

Usage

genepop(g, output.ext = "", show.output = F, label = "genepop.run",
  dem = 10000, batches = 100, iter = 5000, other.settings = "",
  input.fname = "loc_data.txt")

genepopWrite(g, label = "genepop.write", input.fname = "loc_data.txt")

Arguments

g
a gtypes object.
output.ext
character string to use as extension for output files.
show.output
logical. Show GENEPOP output on console?
label
character string to use to label GENEPOP input and output files.
dem
integer giving the number of MCMC dememorisation or burnin steps.
batches
integer giving number of MCMC batches.
iter
integer giving number of MCMC iterations.
other.settings
character string of optional GENEPOP command line arguments.
input.fname
character string to use for input file name.

Value

  • ll{ genepop.write a vector of the locus names used in the input file, and from. genepop.run a list containing the same vector of locus names and a vector of the filenames used. Both returned invisibly. }

References

GENEPOP 4.3 (08 July 2014; Rousset, 2008) http://kimura.univ-montp2.fr/~rousset/Genepop.htm