Learn R Programming

admixturegraph (version 1.0.2)

f2: Calculate the f_2(A, B) statistics.

Description

Calculate the $f_2(A, B)$ statistics.

Usage

f2(graph, A, B)

Arguments

graph
The admixture graph.
A
A leaf node.
B
A leaf node.

Value

A symbolic representation of the equation for the $f_2$ statistics given by the admixture graph.