boot.ppbetas function

Estimates bootstrap confidence intervals for pairwise betas FST estimates

Estimates bootstrap confidence intervals for pairwise betas FST estimates

Estimates bootstrap confidence intervals for pairwise betas FST estimates.

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

Returns

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

Examples

## Not run: data(gtrunchier) boot.ppbetas(gtrunchier[,-2]) ## End(Not run)

See Also

betas pairwise.betas