dumpMixture: Export GSI mixture file

Description Usage Arguments Author(s)

View source: R/dumpMixture.r

Description

dumpMixture() exports a gsi mixture file in BAYES, SPAM, or gsi_sim format

Usage

1
2
3
4
dumpMixture(x, markers, fileType, filename, individuals = NULL,
  findMarkers = NULL, replaceWith = NULL, removePrefix = NULL,
  replaceBP = TRUE, basePairs = c("A", "C", "G", "T", "-"),
  replacements = c("1", "2", "3", "4", "5"))

Arguments

x

the 'population' to be included in the gsi mixture file

markers

the markers to be included in gsi mixture file. NOTE: should be same markers set that was used for the dumpBaselin() function

fileType

the format of the exported gsi mixture file. Can be set to "SPAM", "BAYES", or "gsi_sim"

filename

what would you like to name the exported gsi mixture file

individuals

keep as default NULL

findMarkers

i don't remember what this does, just leave as the default NULL

replaceWith

something related to findMarkers. Also leave as the default NULL

removePrefix

this can be used to trim the marker names for "SPAM"

replaceBP

would you like to replace the allele names with something else. By default, dumpMixture() 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.