compute_F4fromF2 {poolfstat}R Documentation

compute_F4fromF2

Description

Compute all F4 from overall F2 and Q2 values

Usage

.compute_F4fromF2(F2val, npops)

Arguments

F2val

Numeric vector of length nF2=(npop*(npop-1))/2 with all pairwise F2 estimates

npops

Integer giving the number of populations

Details

Compute F4 from F2 (and heterozygosities)

Value

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

Examples

#

[Package poolfstat version 2.2.0 Index]