compute_F4fromF2 | R Documentation |
Compute all F4 from overall F2 and Q2 values
.compute_F4fromF2(F2val, npops)
F2val |
Numeric vector of length nF2=(npop*(npop-1))/2 with all pairwise F2 estimates |
npops |
Integer giving the number of populations |
Compute F4 from F2 (and heterozygosities)
Return a vector of length nF4=(npops*(npops-1)/2) * ((npops-2)*(npops-3)/2) / 2 rows corresponding to all the F4 estimates for all possible configurations
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.