exportStructure: write a Structure input file.

exportStructureR Documentation

write a Structure input file.

Description

Columns are Ind, Pop (converted to integers), then genotypes. Missing alleles are coded as -9

Usage

exportStructure(x, filename, pops = NULL, loci = NULL)

Arguments

x

an EFGLdata object

filename

the name of the file to write

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.

Value

nothing, just writes a file


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