abba {poolABC} | R Documentation |
Calculate the abba portion of the D-statistic
Description
Computes the value for the ‘ABBA’ allelic pattern.
Usage
abba(p1, p2, p3)
Arguments
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. |
Value
a numeric vector with one value per site of the locus.
[Package poolABC version 1.0.0 Index]