compute_F3fromF2 {poolfstat} | R Documentation |
compute_F3fromF2
Description
Compute all F3 from overall F2 values
Usage
.compute_F3fromF2(F2val, Hval, npops)
Arguments
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 |
Details
Compute F3 and F3star estimates from F2 (and heterozygosities)
Value
Return a matrix of length nF3=npops*(npops-1)*(npops-2)/2 rows and 2 columns corresponding to the F3 and F3star estimates
Examples
#
[Package poolfstat version 2.2.0 Index]