q012: Probabilities for pairwise relationships

Description Usage Arguments Details Value Author(s) References Examples

Description

Calculates the probability distribution for a pair of individuals conditionally on 0,1, and 2 IBD alleles.

Usage

1
q012(p = c(0.5, 0.5))

Arguments

p

A numerical vector with allele frequencies

Details

The function calls oneMarkerDistribution for IBD=0,1 and 2.

Value

q0

Joint distribution given IBD=0

q1

Joint distribution given IBD=1

q2

Joint distribution given IBD=2

Author(s)

Thore Egeland

References

None

Examples

1
2
require(paramlink)
q012()

euroMixR documentation built on May 2, 2019, 4:54 p.m.

Related to q012 in euroMixR...