Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pairwise.betas

Estimates pairwise betas according to Weir and Goudet (2017)


Description

Estimates pairwise betas according to Weir and Goudet (2017)

Usage

pairwise.betas(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 betas

Author(s)

Jerome Goudet jerome.goudet@unil.ch

Weir, BS and Goudet J. 2017 A Unified Characterization of Population Structure and Relatedness. Genetics (2017) 206:2085

Examples

data(gtrunchier)
pairwise.betas(gtrunchier[,-2],diploid=TRUE)

hierfstat

Estimation and Tests of Hierarchical F-Statistics

v0.5-10
GPL (>= 2)
Authors
Jerome Goudet [aut, cre], Thibaut Jombart [aut], Zhian N. Kamvar [ctb], Eric Archer [ctb], Olivier Hardy [ctb]
Initial release
2021-11-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.