f4_from_f2 | R Documentation |
This function turns per-block f2-statistics into per-block f4-statistics of the form f4(pop1, pop2; pop3, pop4)
f4_from_f2(f2_data, pop1, pop2 = NULL, pop3 = NULL, pop4 = NULL)
f2_data |
A 3d array with blocked f2 statistics, output of |
pop1 |
Either the name(s) of the first population(s), or a four column matrix with the names of all four populations. |
pop2 |
Population 2 (same length as |
pop3 |
Population 3 (same length as |
pop4 |
Population 4 (same length as |
A matrix of per-block f4-statistics (popcomb x block
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.