| pop.freq | R Documentation | 
Estimates allelic frequencies for each population and locus
pop.freq(dat,diploid=TRUE)| dat | 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- | 
| diploid | specify whether the data set consists of diploid (default) or haploid data | 
A list containing allele frequencies. Each element of the list is one locus. For each locus, Populations are in columns and alleles in rows
Jerome Goudet jerome.goudet@unil.ch
data(gtrunchier)
pop.freq(gtrunchier[,-2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.