Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

allele.count

Allelic counts


Description

Counts the number of copies of the different alleles at each locus and population

Usage

allele.count(data,diploid=TRUE)

Arguments

data

A data frame containing the population of origin in the first column and the genotypes in the following ones

diploid

Whether the data are from diploid individuals

Value

A list of tables, –each with np (number of populations) columns and nl (number of loci) rows– of the count of each allele

Author(s)

Jerome Goudet jerome.goudet@unil.ch

Examples

data(gtrunchier)
allele.count(gtrunchier[,-2])

hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.