ThetatoF {HardyWeinberg} | R Documentation |
Convert theta to an inbreeding coefficient
Description
Function ThetatoF
converts disequilibrium measure theta to an
inbreeding coefficient.
Usage
ThetatoF(p, theta = 4)
Arguments
p |
the allele frequency |
theta |
the disequilibrium parameter |
Value
a real number
Author(s)
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
Examples
f <- ThetatoF(0.5,4)
[Package HardyWeinberg version 1.7.8 Index]