Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ThetatoF

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)

HardyWeinberg

Statistical Tests and Graphics for Hardy-Weinberg Equilibrium

v1.7.2
GPL (>= 2)
Authors
Jan Graffelman [aut, cre], Christopher Chang [ctb], Xavi Puig [ctb], Jan Wigginton [ctb], Leonardo Ortoleva [ctb], William R. Engels [ctb]
Initial release
2021-04-28

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.