Learn R Programming

HardyWeinberg (version 1.7.8)

ThetatoF: Convert theta to an inbreeding coefficient

Description

Function ThetatoF converts disequilibrium measure theta to an inbreeding coefficient.

Usage

ThetatoF(p, theta = 4)

Value

a real number

Arguments

p

the allele frequency

theta

the disequilibrium parameter

Author

Jan Graffelman (jan.graffelman@upc.edu)

References

Rohlfs, R.V. and Weir, B.S. (2008) Distributions of Hardy-Weinberg Equilibrium Test Statistics, Genetics, 180(3) pp. 1609-1616.

See Also

HWf

Examples

Run this code
f <- ThetatoF(0.5,4)

Run the code above in your browser using DataLab