Learn R Programming

hierfstat (version 0.5-11)

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

Examples

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

# }

Run the code above in your browser using DataLab