powered by
Counts the number of copies of the different alleles at each locus and population
allele.count(data,diploid=TRUE)
A data frame containing the population of origin in the first column and the genotypes in the following ones
Whether the data are from diploid individuals
A list of tables, --each with np (number of populations) columns and nl (number of loci) rows-- of the count of each allele
# NOT RUN { data(gtrunchier) allele.count(gtrunchier[,-2]) # }
Run the code above in your browser using DataLab