getal: Converts diploid genotypic data into allelic data

Description Usage Arguments Value Author(s) Examples

Description

Converts diploid genotypic data into allelic data

Usage

1

Arguments

data

a data frame where the first column contains the population to which the different individuals belong, and the following columns contain the genotype of the individuals -one locus per column-

Value

data.al

a new data frame, with twice as many row as the input data frame and one extra column. each row of the first half of the data frame contains the first allele for each locus, and each row of the second half of the data frame contains the second allel at the locus. The extra column in second position corresponds to the identifier of the individual to which the allele belongs

Author(s)

Jerome Goudet jerome.goudet@unil.ch

Examples

1
2


Search within the hierfstat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.