Calculate the D, f4, f4-ratio, or f3 statistic.

f4ratio(data, X, A, B, C, O, outdir = NULL)

d(data, W, X, Y, Z, outdir = NULL, f4mode = FALSE)

f4(data, W, X, Y, Z, outdir = NULL)

f3(data, A, B, C, outdir = NULL, inbreed = FALSE)

## Arguments

data EIGENSTRAT data object. Where to put all generated files (temporary directory by default). Population names according to the nomenclature used in Patterson et al., 2012. Calculate the f4 statistic instead of the D statistic. See README.3PopTest in ADMIXTOOLS for an explanation.