EcoGenetics (version 1.2.1-4)

int.loc2al: INTERNAL CONVERSION TOOLS FOR GENETIC DATA

Description

INTERNAL CONVERSION TOOLS FOR GENETIC DATA

Usage

int.loc2al(X, ncod = NULL, ploidy = 2, sep.in = "", sep.out = NULL,
  chk.names = TRUE, chk.plocod = TRUE)

Arguments

X

Input

ncod

Number of digits coding each allele (e.g., 1: x, 2: xx, 3: xxx, etc.). If NULL, ncod will we obtained from the ploidy and the maximum number of characters in the data cells.

ploidy

Ploidy of the data.

sep.in

Separator in the input

sep.out

Separator in the output

chk.names

Defalult TRUE. The function make checks of individuals and loci names during conversion.

chk.plocod

Defalult TRUE. The function checks coherence in ploidy and number of digits coding alleles for loci data during conversion.