pairwise.betas {hierfstat}R Documentation

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)


[Package hierfstat version 0.5-11 Index]