dumpGenepop: Export Genepop file

Description Usage Arguments Author(s)

View source: R/dumpGenepop.r

Description

dumpGenepop() exports a file in Genepop format

Usage

1
2
3
dumpGenepop(x, markers = NULL, title, filename, popNames = FALSE,
  replaceBP = TRUE, basePairs = c("A", "C", "G", "T", "-"),
  replacements = c("1", "2", "3", "4", "5"))

Arguments

x

the list of populations to be included in Genepop file

markers

the markers to be included in Genepop file

title

what would you like the title of your Genepop file to be

filename

what would you like to name the exported Genepop file?

popNames

would you like to use population names popNames = TRUE or individual names popNames = FALSE as individual identifiers in the Genepop file

replaceBP

would you like to replace the allele names with something else. By default, dumpGenepop() replaces c("A","C","G","T","-") with c("1","2","3","4","5"). This can be set to "FALSE" to keep data in the original imported format. Alternatively, the basePairs and replacements arguments can be modified to accommodate any desired import or export format.

basePairs

If replaceBP = TRUE, the nomenclature used for the imported genotype data

replacements

If replaceBP = TRUE, what would you like to replace the alleles with?

Author(s)

Eric Grau and Mike Ackerman


mackerman44/idfgen documentation built on May 21, 2019, 10:51 a.m.