nb.alleles | R Documentation |
Counts the number of different alleles at each locus and population
nb.alleles(data,diploid=TRUE)
data |
A data frame containing the population of origin in the first column and the genotypes in the following ones |
diploid |
whether individuals are diploid |
A table, –with np (number of populations) columns and nl (number of loci) rows– of the number of different alleles
Jerome Goudet jerome.goudet@unil.ch
data(gtrunchier) nb.alleles(gtrunchier[,-2])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.