Computes the Four Taxon Test for a given set of P1, P2, P3, and P4. Patterson's D is calculated, as is Fd from the paper Martin et al. (2014). Fd is calculated for the scenario of complete introgression between P1 and P3, and also for the scenario of complete introgression between P2 and P3. The jack-knife implementation and computation of Z scores is based on that used in the software package ANGSD.
1 | fourTaxonTest(dna, fttRecord, numBlocks, lengthOfBlocks)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.