Probabilities for pairwise relationships

Share:

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 <Thore.Egeland@nmbu.no>

References

None

Examples

1
2
require(paramlink)
q012()