getGlist: getGlist

Description Usage Arguments Details Value Author(s)

View source: R/getGlist.R

Description

getGlist Returns a list of genotypes with corresponding probabilities for a given allele frequency-list.

Usage

1
getGlist(popFreq)

Arguments

popFreq

A list of allele frequencies for a given population. Each named element in the list must be a allele-named vector with allele frequencies.

Details

The function returns the list of all possible observed genotypes, with corresponding Hardy-Weinberg assumed probabilities. The allele-names in popFreq needs to be numbers.

Value

Glist A list with genotypes and genotype probabilities for each locus.

Author(s)

Oyvind Bleka <Oyvind.Bleka.at.fhi.no>


euroformix documentation built on May 2, 2019, 4:48 p.m.