#' Four measures of fit to Hardy-Weinberg for a given set of genotype counts may be computed.
observedProb The probability of the observed set under the HW null and with the allele counts fixed.
observedLLR The log-likelihood ratio of the observed set
observedU The observed U-score. Positive values indicate an excess of homozygotes and negative ones imply too many heterozygotes
observedX2 The classical “chi-squared” statistic
1 2 3 4 5 6 7
Matrix of observed genotype counts. Each number should be a non-negative integer, and matrix is k x k.
the observed statistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.