exportColony: write a Colony input file.

exportColonyR Documentation

write a Colony input file.

Description

write a Colony input file.

Usage

exportColony(
  x,
  filename = "colony2.dat",
  pops = NULL,
  loci = NULL,
  candMales = NULL,
  candFemales = NULL,
  candMaleProb = NULL,
  candFemaleProb = NULL,
  projName = "efglmhToColony",
  colOutFileName = "colonyResults",
  alleleDropoutRate = 0.01,
  otherGenotypingErrorRate = 0.01
)

Arguments

x

an EFGLdata object

filename

the name of the file to write. If NULL, the colony input is returned as a character vector with each line a separate entry in the vector.

pops

a vector of pops to include. If not specified, all pops are used.

loci

a vector of loci to include. If not specified, all loci are used.

candMales

candidate male names

candFemales

candidate female names

candMaleProb

probability father is included in candidate males. if NULL, either 0 or 0.5 depending on whether candMales is NULL.

candFemaleProb

probability father is included in candidate Females. if NULL, either 0 or 0.5 depending on whether candFemales is NULL.

projName

project name in colony input

colOutFileName

output file name to direct colony to use

alleleDropoutRate

allelic dropout rate to use for all loci

otherGenotypingErrorRate

other genotyping error rate to use for all loci

Value

nothing, just writes a file


delomast/EFGLmh documentation built on June 1, 2024, 6:55 a.m.