Skip to contents

Calculate F_ST from matrix

Usage

fst(m, sample_sizes = NULL)

gst(m, sample_sizes = NULL)

pairwise_fst(m, sample_sizes = NULL)

Arguments

m

matrix output from dist_genealogy() or dist_vaf()

sample_sizes

cell numbers of each region

Details

fst calculates Hudson's F_ST estimator.

  • theta: Weir and Cockerham (1984); Weir and Hill (2002).

  • N_ST: Lynch and Crease (1990).

  • <F_ST>: Hudson, Slatkin, and Maddison (1992) Genetics.

gst calculates Nei's F_ST estimator.

  • G_ST, gamma_ST: Nei (1973, 1977, 1982).

  • K_ST: Hudson, Boos, and Kaplan (1992) MBE.

See also