Learn R Programming

admixturegraph (version 1.0.2)

evaluate_f4: Evaluates an f_4 statistics in a given environment.

Description

Evaluates an $f_4$ statistics in a given environment.

Usage

evaluate_f4(graph, env, W, X, Y, Z)

Arguments

graph
The admixture graph.
env
The environment containing the graph parameters.
W
First population/sample.
X
Second population/sample.
Y
Third population/sample.
Z
Fourth population/sample.

Value

The $f_4$ value specified by the graph and the environment.