Learn R Programming

hwde (version 0.67-3)

Models and Tests for Departure from Hardy-Weinberg Equilibrium and Independence Between Loci

Description

Fits models for genotypic disequilibria, as described in Huttley and Wilson (2000) , Weir (1996) and Weir and Wilson (1986). Contrast terms are available that account for first order interactions between loci. Also implements, for a single locus in a single population, a conditional exact test for Hardy-Weinberg equilibrium.

Copy Link

Version

Install

install.packages('hwde')

Monthly Downloads

190

Version

0.67-3

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

John Maindonald

Last Published

August 21st, 2023

Functions in hwde (0.67-3)

hwde

Fit relevant models, and test for various types of departure from Hardy-Weinberg equilibrium. Allows only 2 alleles per locus. The number of loci is arbitrary.
make.contrasts

Calculate contrasts required by the function
mendelABC

Mendel's F2 trifactorial data for seed shape (A: round or wrinkled), cotyledon color (B: albumen yellow or green), and seed coat color (C: grey-brown or white)
IndianIrish

Observed genotype frequencies at MN and S loci, for 2 populations
decode.genotypes

Creates contrasts that relate to a single locus
hwexact

Exact test of HWE