qkappa: Calculates joint distribution for a pair of individals given...

Description Usage Arguments Value Author(s) References Examples

View source: R/qkappa.R

Description

Based on conditional distribution given IBD from q012, the joint probability distribution for two individuals are given for specified IBD probabilities

Usage

1
qkappa(kappa = c(0, 1, 0), q = NULL)

Arguments

kappa

Three reals summing to 1 giving IBD (0,1,2) probabilities

q

The joint probability distribution for two individuals

Value

A matrix giving the joint distribution

Author(s)

Thore Egeland <Thore.Egeland@nmbu.no>

References

To appear

Examples

1
2
3
require(paramlink)
#Sibs. One SNP marker with 
qkappa(kappa=c(0.25,0.5,0.25),q012(p=c(0.2,0.8)))

euroMix documentation built on May 29, 2017, 7:21 p.m.

Search within the euroMix package
Search all R packages, documentation and source code