Learn R Programming

hierfstat (version 0.5-11)

ind.count: individual counts

Description

Counts the number of individual genotyped per locus and population

Usage

ind.count(data)

Arguments

data

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

Value

A table --with np (number of populations) columns and nl (number of loci) rows-- of genotype counts

Examples

Run this code
# NOT RUN {
data(gtrunchier)
ind.count(gtrunchier[,-2])
# }

Run the code above in your browser using DataLab