compute_F3fromF2 | R Documentation |
Compute all F3 from overall F2 values
.compute_F3fromF2(F2val, Hval, npops)
F2val |
Numeric vector of length nF2=(npop*(npop-1))/2 with all pairwise F2 estimates |
Hval |
Numeric vector of length npop with all within pop heterozygosity estimates |
npops |
Integer giving the number of populations |
Compute F3 and F3star estimates from F2 (and heterozygosities)
Return a matrix of length nF3=npops*(npops-1)*(npops-2)/2 rows and 2 columns corresponding to the F3 and F3star estimates
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.