Estimate Kinship and FST under Arbitrary Population Structure with popkin
Introduction | Kinship and inbreeding coefficients | The generalized $\Fst$ | The individual-level pairwise $\Fst$ | Sample usage | Input genotype data | Load and clean sample data | Estimate and visualize kinship using genotypes and subpopulations | Estimate $\Fst$ and individual inbreeding from a kinship matrix | Estimate individual-level pairwise $\Fst$ matrix from a kinship matrix | Rescale kinship matrix in a subset of the data | Plot multiple kinship matrices together | Plot kinship matrices with multiple levels of labels | Coancestry estimation from allele frequencies | Admixture plot example | References