powered by
Function to analyze allele frequency of a single marker
analyze.population( population, chromosome = NULL, snp = NULL, snp.name = NULL, database = NULL, gen = NULL, cohorts = NULL )
Frequency of AA/AB/BB in selected gen/database/cohorts
Population list
Number of the chromosome of the relevant SNP
Number of the relevant SNP
Name of the SNP to analyze
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)
data(ex_pop) analyze.population(ex_pop, snp=1, chromosome=1, gen=1:5)
Run the code above in your browser using DataLab