Skip to main content
. 2020 Jan 6;6:e243. doi: 10.7717/peerj-cs.243
### Run simulations ###
> HACSObj<-HACReal()
> HAC.simrep(HACSObj)
Simulating haplotype accumulation...
=====================================================— 100%
— Measures of Sampling Closeness —
Mean number of haplotypes sampled: 11.0705
Mean number of haplotypes not sampled: 3.9295
Proportion of haplotypes sampled: 0.7380333
Proportion of haplotypes not sampled: 0.2619667
Mean value of N*: 318.4138
Mean number of specimens not sampled: 83.4138
Desired level of haplotype recovery has not yet been reached
=======================================================— 100%
—Measures of Sampling Closeness —
Mean number of haplotypes sampled: 13.8705
Mean number of haplotypes not sampled: 1.1295
Proportion of haplotypes sampled: 0.9247
Proportion of haplotypes not sampled: 0.0753 Mean value of N*: 603.439
Mean number of specimens not sampled: 45.43895
Desired level of haplotype recovery has not yet been reached
==========================================================— 100%
—Measures of Sampling Closeness —
Mean number of haplotypes sampled: 14.3708
Mean number of haplotypes not sampled: 0.6292
Proportion of haplotypes sampled: 0.9580533
Proportion of haplotypes not sampled: 0.04194667
Mean value of N*: 630.4451
Mean number of specimens not sampled: 26.44507
Desired level of haplotype recovery has been reached
———- Finished. ———-
The initial guess for sampling sufficiency was N = 235 individuals
The algorithm converged after 8 iterations and took 241.235 s
The estimate of sampling sufficiency for p = 95% haplotype recovery is N∗ = 604 individuals ( 95% CI: 601.504-606.496 )
The number of additional specimens required to be sampled for p = 95% haplotype recovery is N* - N = 369 individuals