The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

HaploDiploidEquilibrium: Calculate F Statistics Using Mixed Haploid and Diploid Organism Data

Provides functions to estimate population genetics summary statistics from haplo-diploid systems, where one sex is haploid and the other diploid (e.g. Hymenoptera insects). It implements a theoretical model assuming equal sex ratio, random mating, no selection, no mutation, and no gene flow, deriving expected genotype frequencies for both sexes under these equilibrium conditions. The package includes windowed calculations (operating over genomic sliding windows from VCF input) for allele and genotype frequencies, the inbreeding coefficient (Fis), pairwise Fst, Nei's H (gene diversity), Watterson's Theta, and sex-specific reference allele frequencies. Most statistics are agnostic to ploidy, allowing the package to be applied to both strictly haplo-diploid and fully diploid systems.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: dplyr, vcfR, data.table, matrixStats
Published: 2026-02-25
DOI: 10.32614/CRAN.package.HaploDiploidEquilibrium (may not be active yet)
Author: Paulo Sousa [aut], Francisco Pina-Martins [cre, aut]
Maintainer: Francisco Pina-Martins <f.pinamartins at gmail.com>
License: GPL-3
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: HaploDiploidEquilibrium results

Documentation:

Reference manual: HaploDiploidEquilibrium.html , HaploDiploidEquilibrium.pdf

Downloads:

Package source: HaploDiploidEquilibrium_0.1.0.tar.gz
Windows binaries: r-devel: HaploDiploidEquilibrium_0.1.0.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): HaploDiploidEquilibrium_0.1.0.tgz, r-oldrel (arm64): HaploDiploidEquilibrium_0.1.0.tgz, r-release (x86_64): HaploDiploidEquilibrium_0.1.0.tgz, r-oldrel (x86_64): HaploDiploidEquilibrium_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=HaploDiploidEquilibrium to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.