Learn R Programming

⚠️There's a newer version (0.67-3) of this package.Take me there.

hwde (version 0.62)

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.62

License

GPL (>= 2)

Maintainer

John Maindonald

Last Published

October 29th, 2012

Functions in hwde (0.62)

hwexact

Exact test of HWE
make.contrasts

Calculate contrasts required by the function
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.
decode.genotypes

Creates contrasts that relate to a single locus
IndianIrish

Observed genotype frequencies at MN and S loci, for 2 populations
mendelABC

Mendel's F2 trifactorial data for seed shape (A), cotyledon color (B) and seed coat color (C)