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

Description Usage Arguments Value Author(s) References Examples

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)))


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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.