boot.ppDeltaD: Bootstrapping test of pairwise allelic differentiation (Delta...

Description Usage Arguments Details Value Author(s) References Examples

View source: R/boot.ppDeltaD.R

Description

Do bootstrapping on pairwise allelic differentiation (Delta D) between populations and get the confidence interval.

Usage

1
boot.ppDeltaD(dat, ncode, nboot, quant = c(0.025, 0.975), diploid = TRUE, ...)

Arguments

dat

Genetic file

ncode

Genotype coding type

nboot

Number of bootstraps

quant

confidence interval

diploid

Ploidy

...

Details

Do bootstrapping on pairwise allelic differentiation (Delta D) between populations and get the confidence interval

Value

lowerl

lower confidence interval of pairwise allelic differentiation

uperl

uper confidence interval of pairwise allelic differentiation

DeltaD.per.loc

Delta D per locus

Author(s)

qinxinghu@gmail.com

References

Felsenstein, J. (1985). Confidence limits on phylogenies: an approach using the bootstrap. Evolution, 39(4), 783-791.

Examples

1
2
3
f <- system.file('extdata',package='HierDpart')
infile <- file.path(f, "Island.gen")
boot.ppDeltaD(infile, ncode=3, nboot=999, quant = c(0.025, 0.975), diploid = TRUE)

HierDpart documentation built on March 31, 2021, 5:09 p.m.