tab2genepop: Converts a Table of Genetic Markers Into a Genepop File

Description Usage Arguments Value

View source: R/Table2Genepop.R

Description

This function loads a table with a set of haploid markers and generates a GenePop file with this information

Usage

1
tab2genepop(table, filen, abc = TRUE, sexratio = 1, header = NULL)

Arguments

table

Table with the genetic markers

filen

Output file name

abc

Boolean. If true it writes a first line with the male to female sex ratio of the population. Defaults to True

sexratio

Male-to-Female ratio. If abc is False, it is ignored

header

Additional information to be put in the header of the GenePop file. Defaults to NULL

Value

Writes a GenePop file on the working directory


cpatarroyo/lamfutools documentation built on Dec. 19, 2021, 6:07 p.m.