Estimation and Tests of Hierarchical F-Statistics
Overview
Estimates hierarchical F-statistics from haploid or diploid genetic data with any numbers of levels in the hierarchy, following the algorithm of Yang (Evolution(1998), 52:950). Tests via randomisations the significance of each F and variance components, using the likelihood-ratio statistics G (Goudet et al. (1996) https://academic.oup.com/genetics/article/144/4/1933/6017091). Estimates genetic diversity statistics for haploid and diploid genetic datasets in various formats, including inbreeding and coancestry coefficients, and population specific F-statistics following Weir and Goudet (2017) https://academic.oup.com/genetics/article/206/4/2085/6072590.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) read.VCF.Rd:21: Lost braces
21 | Reads a \url{https://samtools.github.io/hts-specs/}{Variant Call Format (VCF)} file into a BED object,
| ^- NOTE13 NOTENow
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 76
- Examples that run
- 79%44 run in a plain check · 12 never run
- Exported functions with examples
- 76%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 57%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 6
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Checks run against github.com/jgx65/hierfstat on 2026-10-22.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing hierfstat adds 67 packages (42 with compiled code, 77 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.5-11Latest
- RR 4.2.0 released · 2022-04-22
- 0.5-102021-11-17 · diff ↗ ·
added 9 exports
Ho, Hs, TajimaD.dosage, boot.ppbetas, matching, pairwise.betas, pairwise.fst.dosage, pi.dosage, theta.Watt.dosage - RR 4.1.0 released · 2021-05-18
- 0.5-72020-07-20 · diff ↗ ·
removed 6 exports
eucl.dist, eucl.dist.trait, sim.freq, fstat, gstat.randtest, pairwise.fstadded 16 exports
beta.dosage, biall2dos, fis.dosage, fs.dosage, fst.dosage, fstat2dos, grm2kinship, kinship2dist, kinship2grm, kinshipShift, ms2bed, ms2dos, pp.fst, read.VCF, read.ms, sim.genot.metapop.t - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- 0.04-222015-12-04 · diff ↗ ·
removed 9 exports
betai, cfe.dist, da.dist, print.indpca, plot.indpca, nei.dist, pp.fst, prepdata, print.pp.fstadded 14 exports
betas, genet.dist, pairwise.neifst, pairwise.WCfst, qn2.read.fstat, sim.genot.t, write.bayescan, fstat, gstat.randtest, pairwise.fst, AIc, sexbias.test, genind2hierfstat, write.ped - RR 3.2.0 released · 2015-04-16
Show 30 earlier eventsHide 30 earlier events
- 0.04-142014-09-29 · diff ↗ ·
removed 1 export
pattern:.added 47 exports
allele.count, allelic.richness, basic.stats, betai, boot.ppfis, boot.ppfst, boot.vc, cfe.dist, da.dist, eucl.dist, eucl.dist.trait, g.stats, g.stats.glob, genot2al, getal, getal.b, ind.count, indpca, print.indpca, plot.indpca, mat2vec, nb.alleles, nei.dist, pcoa, pop.freq, pp.fst, pp.sigma.loc, prepdata, print.pp.fst, read.fstat and 17 more - RR 3.1.0 released · 2014-04-10
- 0.04-102013-04-10 · diff ↗
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
- 0.04-6
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- RR 2.4.0 released · 2006-10-03
- 0.04-42006-09-21 · diff ↗
- 0.04-32006-07-10 · diff ↗
- RR 2.3.0 released · 2006-04-24
- 0.04-22005-12-14 · diff ↗
- RR 2.2.0 released · 2005-10-06
- 0.04-12005-06-07 · diff ↗
- RR 2.1.0 released · 2005-04-18
- 0.03-32005-03-15 · diff ↗
- 0.03-12005-03-03 · diff ↗
- 0.02-22005-01-14 · diff ↗
- RR 2.0.0 released · 2004-10-04
- 0.01-42004-08-14
- RR 1.9.0 released · 2004-04-12
Package metadata
- First published
- 2004-08-14
- Total releases
- 15 / 22 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 17 KB / 7 files
- Download size
- 193 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("hierfstat")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.