Learn R Programming

HierDpart (version 1.5.0)

boot.ppDeltaD: Bootstrapping test of pairwise allelic differentiation (Delta D) between populations

Description

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

Usage

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

Value

lowerl

lower confidence interval of pairwise allelic differentiation

uperl

uper confidence interval of pairwise allelic differentiation

DeltaD.per.loc

Delta D per locus

%% ...

Details

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

References

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

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab