allele.count: Allelic counts

View source: R/misc.R

allele.countR Documentation

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])

jgx65/hierfstat documentation built on April 20, 2023, 8:34 a.m.