Techniqueadvanced
Patterson f-statistics
Also called f3 statistic, f4 statistic.
Moments of allele frequency differences among three or four populations that test for admixture and fit admixture graphs.
Patterson f-statistics are averages, over many biallelic sites, of products of allele frequency differences between populations. For populations with frequencies , , , of one allele at a site, , and . When the populations are related by a tree with drift on its branches, is a sum of branch lengths along a path, is the length of one branch and is never negative, and is the shared length of two paths, so it is zero for a tree that splits from . A significantly negative or a nonzero where a tree predicts zero is evidence of admixture. Reich and coauthors (2009) introduced the tests, and Patterson and coauthors (2012) gave the theory and the fit of admixture graphs.
In plain words
Every population drifts, so the frequency of a gene variant moves up and down by chance over the generations. Two populations that split long ago have frequencies that differ more than two that split recently. The f-statistics measure how much of this random change two or more populations share.
If the populations sit on a simple family tree, the shared change follows fixed rules: some measures are never below zero, and some are always about zero. If a population is a mix of two others, its variant frequencies sit between theirs, and one of the measures turns negative. If gene flow joins two branches of the tree, a measure that should be zero is not. You compute the measures over many sites across the genome, estimate their error from large blocks of the genome, and check which tree, or which tree with mixing, fits.
When it applies
- Data. Allele frequencies at many biallelic SNPs in each population, from sequences or arrays. The target population of an test needs at least two sampled gene copies for the bias correction.
- Model. The theory treats frequencies as changed by drift only along the branches. It holds when the sites were polymorphic before the populations split and new mutations on the branches are rare, as for SNPs that are old relative to the splits, or for SNPs found in an outgroup.
- Question. Is a population a mixture of two others? Do four populations fit a tree? What fraction of a population comes from a source? Which graph of splits and admixtures fits all the statistics?
- Not for. Dates of admixture, which need linkage information, or populations with very few sites, where the standard errors are large.
The template
The basic identities. For any frequencies, expanding the squares gives
So all f-statistics are linear in the values, and a model that predicts the values predicts all of them.
On a tree. If the frequencies drift independently along the branches of a tree, the frequency changes on different branches are uncorrelated with mean zero. Then is the sum of the drift lengths of the branches on the path from to , is the length of the path from to the point where the paths to and split, which is at least zero, and is the signed length of the overlap of the paths to and to .
Under admixture. If is an exact mixture , then and , so
Drift in after the mixture adds a positive term, so a real mixture may still give .
Steps.
- Compute sample frequencies , , ... from , , ... gene copies at each site.
- Compute the unbiased term per site. For it is , since and . For subtract the same term for each of the two populations. For of four distinct populations, no correction is needed, because the four samples are independent.
- Average the terms over all sites. Patterson and coauthors often divide by an estimate of the heterozygosity of , which makes values comparable across targets.
- Estimate the standard error with a delete-one block jackknife over blocks of several megabases, so that linked sites stay in one block.
- Form and compare it with the value that the tree predicts. A common rule treats as significant.
The f4 ratio. If exactly, then , so
In practice and are relatives of the sources, and the estimate is unbiased when shares drift with the source related to only.
Classic examples
- Indian population history. Reich and coauthors (2009) found negative for many Indian groups, with one source related to West Eurasians and one not, and modeled them as mixtures of two ancestral populations.
- The ABBA-BABA test. With the outgroup carrying only the ancestral allele, , the expected numerator of the D statistic at a site is , which is . So the ABBA-BABA test is an test scaled by the count of informative sites. Green and coauthors (2010) used it to show gene flow from Neandertals into non-Africans.
- A worked mixture. Take three sites with , and . The products are , and , so . The squares are , and , so , and , as the identity says.
- The bias correction. With from copies, the correction for that site is .
Variations
- Outgroup f3. with an outgroup measures the drift shared by and since they split from , and is used to rank populations by how close they are to a target.
- Admixture graphs. The program qpGraph of Patterson and coauthors fits a graph of splits and admixture events to all , and values at once, and reports the statistics that the graph fits worst. TreeMix fits a similar graph to a covariance matrix of frequencies.
- qpAdm. A set of statistics with a fixed set of outgroups tests whether a target is a mixture of given sources and estimates the fractions, using the rank of a matrix of values.
- Relation to . is the numerator of a Hudson-type fixation index, which divides it by , the probability that one copy from each population differs.
- Coalescent view. Under the multispecies coalescent, the f-statistics are linear in the expected coalescence times of pairs of gene copies, which gives the same tree rules as the drift model above.
Pitfalls
- Positive is not evidence against admixture. Drift in the target after the mixture adds a positive term that can hide the negative one.
- Zero is not proof of a tree. Gene flow in two directions can cancel.
- Ascertainment. SNPs found in one population bias the frequencies toward that population. The tree rules hold best for SNPs found in an outgroup.
- Small targets. With , the correction is undefined, and the test cannot be run on that target.
- Order of the arguments. . Papers use different orders, so check the sign convention before reading a result.
- Linked sites. Sites close together are not independent, so a standard error that treats them as independent is too small. Use blocks larger than the scale of linkage disequilibrium.
- Many tests. Testing all triples or quadruples of many populations gives many false positives at unless the threshold is raised.
Exercises
- Prove the two identities that write and in terms of .
- Show that in expectation when , , , drift independently on a tree that splits from .
- Show that for the frequency of copies sampled with replacement from a population with frequency , and derive the corrected term.
- Let be a mixture with fraction of and of , followed by drift of length in . Show that , and find the above which the test cannot detect the mixture.
- Derive the f4 ratio, and show by an example that it is biased when shares drift with both sources.
References
- Nick Patterson, Priya Moorjani, Yontao Luo, Swapan Mallick, Nadin Rohland, Yiping Zhan, Teri Genschoreck, Teresa Webster and David Reich, Ancient admixture in human history, Genetics 192(3), 2012, pp. 1065-1093 (the definitions of f2, f3 and f4, their unbiased estimators, the f4 ratio, the block jackknife, and the fit of admixture graphs)
- David Reich, Kumarasamy Thangaraj, Nick Patterson, Alkes L. Price and Lalji Singh, Reconstructing Indian population history, Nature 461(7263), 2009, pp. 489-494 (the three-population test of admixture and the four-population test of a tree, applied to Indian groups)
- Richard E. Green and coauthors, A draft sequence of the Neandertal genome, Science 328(5979), 2010, pp. 710-722 (the D statistic and the estimate of the Neandertal fraction in non-Africans)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W3 standard |
|
Tag XEEEED Edit this page History Report an error Markdown