exportGenePop: write a genepop input file

View source: R/export_data.R

exportGenePopR Documentation

write a genepop input file

Description

write a genepop input file

Usage

exportGenePop(
  x,
  filename,
  header = "genePop file",
  pops = NULL,
  loci = NULL,
  useIndNames = FALSE
)

Arguments

x

an EFGLdata object

filename

the name of the file to write

header

a string to use as the header line of the genepop file

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.

useIndNames

TRUE to use individual names as sample identifiers. Otherwise, population names are used

Value

nothing, just writes a file


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