getGlist: getGlist

View source: R/getGlist.R

getGlistR Documentation

getGlist

Description

getGlist Returns a list of genotypes with corresponding genotype probabilities for an unknown individual.

Usage

getGlist(popFreq, fst = 0, refKlist = NULL, refRlist = NULL, ibd = c(1, 0, 0))

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.

fst

Assumed theta/fst-correction

refKlist

contains a list of vector of alleles for the known typed reference profiles (a,b,c,d...)

refRlist

contains a list of vector of alleles for a related reference profile (a,b)

ibd

The identical by decent coefficients of the relationship denotation

Details

The function returns the list of all possible observed genotypes for each marker. A wrapper of the function calcGjoint.

Value

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

Author(s)

Oyvind Bleka


oyvble/euroformix documentation built on Aug. 25, 2023, 11:14 a.m.