powered by
Function to calculate allele frequencies
get.allele.freq( population, database = NULL, gen = NULL, cohorts = NULL, id = NULL )
Allele frequency of the alternative allele
Population list
Groups of individuals to consider for the export
Quick-insert for database (vector of all generations to export)
Quick-insert for database (vector of names of cohorts to export)
Individual IDs to search/collect in the database
data(ex_pop) get.allele.freq(ex_pop, gen = 1)
Run the code above in your browser using DataLab