Skip to content

HACSim

Iterative Extrapolation of Species' Haplotype Accumulation Curves for Genetic Diversity Assessment

v1.0.7-1 · Sep 19, 2025 · GPL-3

Description

Performs iterative extrapolation of species' haplotype accumulation curves using a nonparametric stochastic (Monte Carlo) optimization method for assessment of specimen sampling completeness based on the approach of Phillips et al. (2015) <doi:10.1515/dna-2015-0008>, Phillips et al. (2019) <doi:10.1002/ece3.4757> and Phillips et al. (2020) <doi: 10.7717/peerj-cs.243>. 'HACSim' outputs a number of useful summary statistics of sampling coverage ("Measures of Sampling Closeness"), including an estimate of the likely required sample size (along with desired level confidence intervals) necessary to recover a given number/proportion of observed unique species' haplotypes. Any genomic marker can be targeted to assess likely required specimen sample sizes for genetic diversity assessment. The method is particularly well-suited to assess sampling sufficiency for DNA barcoding initiatives. Users can also simulate their own DNA sequences according to various models of nucleotide substitution. A Shiny app is also available.

Downloads

815

Last 30 days

4370th

2.5K

Last 90 days

9.3K

Last year

Trend: -9.3% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies ape data.table matrixStats pegas Rcpp stringr HACSim

Version History

new 1.0.7-1 Mar 10, 2026
updated 1.0.7-1 ← 1.0.6-1 diff Sep 18, 2025
updated 1.0.6-1 ← 1.0.6 diff Jun 12, 2022
updated 1.0.6 ← 1.0.5 diff May 25, 2022
updated 1.0.5 ← 1.0.4 diff Jan 6, 2020
updated 1.0.4 ← 1.0.3 diff Sep 14, 2019
updated 1.0.3 ← 1.0.2 diff Jul 25, 2019
updated 1.0.2 ← 1.0.1 diff Jun 27, 2019
updated 1.0.1 ← 1.0.0 diff May 15, 2019
new 1.0.0 May 8, 2019