Learn R Programming

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

hwde (version 0.2)

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.

Copy Link

Version

Install

install.packages('hwde')

Monthly Downloads

190

Version

0.2

License

GPL version 2 or newer

Maintainer

John Maindonald

Last Published

August 21st, 2023

Functions in hwde (0.2)

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
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)