Learn R Programming

hierfstat (version 0.5-11)

boot.ppbetas: Estimates bootstrap confidence intervals for pairwise betas FST estimates

Description

Estimates bootstrap confidence intervals for pairwise betas FST estimates.

Usage

boot.ppbetas(dat=dat,nboot=100,quant=c(0.025,0.975),diploid=TRUE,digits=4)

Arguments

dat

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

nboot

the number of bootstrap samples to draw

quant

the limit of the confidence intervals

diploid

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

digits

how many digits to print out

Value

a matrix with upper limit of the bootstrap CI above the diagonal and lower limit below the diagonal

See Also

betas pairwise.betas

Examples

Run this code
# NOT RUN {
data(gtrunchier)
boot.ppbetas(gtrunchier[,-2])
# }

Run the code above in your browser using DataLab