exportProgenyStyle: export a "Progeny-style" export file for later reading into...

exportProgenyStyleR Documentation

export a "Progeny-style" export file for later reading into EFGLmh

Description

Columns in order are Pop, Ind, metadata, genotypes (2-column per call) Missing genotypes are "0" for SNPs (biallelic or nonvariable with alleles represented by 1 character) and "000" for others. If a locus is all missing, it is treated as a SNP. Pop column is called "Pedigree" and Ind column is called "Individual.Name".

Usage

exportProgenyStyle(x, filename, pops = NULL, loci = NULL, metadata = 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 use. If not specified, all loci are used.

metadata

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

Value

nothing, just writes a file


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