pairwise.betas: Estimates pairwise betas according to Weir and Goudet (2017)

View source: R/pairwise.fst.R

pairwise.betasR 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)


hierfstat documentation built on May 6, 2022, 1:05 a.m.