View source: R/functions_sumstats.R
abba | R Documentation |
Computes the value for the ‘ABBA’ allelic pattern.
abba(p1, p2, p3)
p1 |
is a numeric vector with the allele frequencies for population 1. Each entry of the vector should be a different site. |
p2 |
is a numeric vector with the allele frequencies for population 2. Each entry of the vector should be a different site. |
p3 |
is a numeric vector with the allele frequencies for population 3. Each entry of the vector should be a different site. |
a numeric vector with one value per site of the locus.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.