analyze.population {MoBPS} | R Documentation |
Analyze allele frequency of a single marker
Description
Analyze allele frequency of a single marker
Usage
analyze.population(
population,
chromosome = NULL,
snp = NULL,
snp.name = NULL,
database = NULL,
gen = NULL,
cohorts = NULL
)
Arguments
population |
Population list |
chromosome |
Number of the chromosome of the relevant SNP |
snp |
Number of the relevant SNP |
snp.name |
Name of the SNP to analyze |
database |
Groups of individuals to consider for the export |
gen |
Quick-insert for database (vector of all generations to export) |
cohorts |
Quick-insert for database (vector of names of cohorts to export) |
Value
Frequency of AA/AB/BB in selected gen/database/cohorts
Examples
data(ex_pop)
analyze.population(ex_pop, snp=1, chromosome=1, gen=1:5)
[Package MoBPS version 1.6.64 Index]