pairwise.fstb: Calculates pairwise fsts using a genind object (very fast)

View source: R/popdynfun.r

pairwise.fstbR Documentation

Calculates pairwise fsts using a genind object (very fast)

Description

for simulation the original pairwise.fst was too slow. The fast version works only with genind objects without NAs and diploid data (so to be save do not use it on non-simulated data)

Usage

pairwise.fstb(gsp)

Arguments

gsp

a genind object

Value

a pairwise fst matrix (same as hierfstat pairwise.fst)


PopGenReport documentation built on Oct. 11, 2023, 9:07 a.m.