Description Usage Arguments Value
View source: R/statFunctions.R
Title Calculate G statistic
1 |
n2 |
Counts of allele A and group 1 |
n4 |
Counts of allele B and group 1 |
n1 |
Counts of allele A and group 2 |
n3 |
Counts of allele B and group 2 |
q |
The baseline allele frequencies. If no n1 and n3 are given, q is used to simulate allele counts using the same total counts as n2+n4. |
A vector of G statistic for each variant
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.