Learn R Programming

admixturegraph (version 1.0.2)

f4: Calculate the f_4(W, X; Y, Z) statistics.

Description

Calculate the $f_4(W, X; Y, Z)$ statistics.

Usage

f4(graph, W, X, Y, Z)

Arguments

graph
The admixture graph.
W
A leaf node.
X
A leaf node.
Y
A leaf node.
Z
A leaf node.

Value

The overlaps between paths from W to X and paths from Y to Z.