chisq_g | R Documentation |
This chi-squared test is run under the assumption of no double reduction and no preferential pairing.
chisq_g(x, g1, g2)
chisq_g4(x, g1, g2)
x |
Vector of observed genotype counts |
g1 |
Parent 1's genotype |
g2 |
Parent 2's genotype |
A list containing the chi-squared statistic, degrees of freedom, and p-value.
chisq_g4()
: Alias for chisq_g, for backwards compatibility.
Mira Thakkar and David Gerard
x <- c(1, 2, 4, 3, 0)
g1 <- 2
g2 <- 2
chisq_g(x, g1, g2)
x <- c(10, 25, 10, 0, 0)
g1 <- 1
g2 <- 1
chisq_g(x, g1, g2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.