see.HW: Visualize the Hardy Weinberg equilibrium

View source: R/see.HW.r

see.HWR Documentation

Visualize the Hardy Weinberg equilibrium

Description

Allows interactive depiction of the Hardy Weinberg equilibrium.

Usage

see.HW(parg)
see.HW.tck()

Arguments

parg

Proportion of the allele p in the population, i.e. a number between 0 and 1.

Details

Solves and depicts the Hardy Weinberg equilibrium, i.e:

pp + 2pq + qq = 1

Author(s)

Ken Aho


asbio documentation built on May 29, 2024, 5:57 a.m.