Learn R Programming

hierfstat (version 0.5-11)

pairwise.neifst: Estimates pairwise FSTs according to Nei (1987)

Description

Estimate pairwise FSTs according to Nei (1987)

Usage

pairwise.neifst(dat,diploid=TRUE)

Arguments

dat

A data frame containing population of origin as the first column and multi-locus genotypes in following columns

diploid

whether the data is from a diploid (default) or haploid organism

Value

A matrix of pairwise FSTs

Details

FST are calculated using Nei (87) equations for FST', as described in the note section of basic.stats

References

Nei, M. (1987) Molecular Evolutionary Genetics. Columbia University Press

See Also

pairwise.WCfst genet.dist basic.stats

Examples

Run this code
# NOT RUN {
data(gtrunchier)
pairwise.neifst(gtrunchier[,-2],diploid=TRUE)

# }

Run the code above in your browser using DataLab