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: 9.9099
Mean number of haplotypes not sampled: 2.0901
Proportion of haplotypes sampled: 0.825825
Proportion of haplotypes not sampled: 0.174175
Mean value of N*: 207.0657
Mean number of specimens not sampled: 36.06566
Desired level of haplotype recovery has not yet been reached
===================================================== 100%
—Measures of Sampling Closeness —
Mean number of haplotypes sampled: 11.3231
Mean number of haplotypes not sampled: 0.6769
Proportion of haplotypes sampled: 0.9435917
Proportion of haplotypes not sampled: 0.05640833
Mean value of N*: 413.3144
Mean number of specimens not sampled: 23.31438
Desired level of haplotype recovery has not yet been reached
===================================================== 100%
—Measures of Sampling Closeness —
Mean number of haplotypes sampled: 11.4769
Mean number of haplotypes not sampled: 0.5231
Proportion of haplotypes sampled: 0.9564083
Proportion of haplotypes not sampled: 0.04359167
Mean value of N*: 432.8695
Mean number of specimens not sampled: 18.8695
Desired level of haplotype recovery has been reached
———- Finished. ———-
The initial guess for sampling sufficiency was N = 171 individuals
The algorithm converged after 9 iterations and took 174.215 s
The estimate of sampling sufficiency for p = 95% haplotype recovery is N* = 414 individuals ( 95% CI: 411.937-416.063 )
The number of additional specimens required to be sampled for p = 95% haplotype recovery is N* - N = 243 individuals