Tidy Population Genetics
Overview
We provide a tidy grammar of population genetics, facilitating the manipulation and analysis of data on biallelic single nucleotide polymorphisms (SNPs). 'tidypopgen' scales to very large genetic datasets by storing genotypes on disk, and performing operations on them in chunks, without ever loading all data in memory. The full functionalities of the package are described in Carter et al. (2025) doi:10.1111/2041-210x.70204.
- fix seed argument of
gt_admixture() - implement our own upset plot function to avoid dependency on
UpSetRpackage, which is no longer maintained - fix reading of VCFs when genotype separator symbol is present in the sample information
- fix
loci_functions output when calculating across groups for a single loci - fix
gt_update_backingfile()to preserve imputation metadata when backing files are updated - add validation in
gt_impute_simple()to detect and report SNP dimension mismatches caused by excluded SNPs - add
outdirargument ingt_admixture()to store partial outputs for large jobs - fix
gt_admixture()output file names when n_runs > 1
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-17
- WARNING12 OK, 1 WARNING2026-10-01
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-07-04
Show 9 earlier changesHide 9 earlier changes
- WARNING12 OK, 1 WARNING2026-07-03
- OK13 OK2026-06-19
- WARNING12 OK, 1 WARNING2026-06-17
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-07
- OK13 OK2026-05-02
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 118 (3 internal)includes a package overview page
- Examples that run
- 99%113 run in a plain check (27 of them under a condition) · 1 never run
- Exported functions with examples
- 99%
- Documented parameters
- 96%
- Return-value docs
- 99%
- Help pages citing references
- 14%
Downloads
Repository
- PRs merged (all time)
- 94%
- Median days to close, 50 most recently updated closed issues
- 13
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
13 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/evolecolgroup/tidypopgen on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-18 · The repository has a site deploy workflow
pkgdown site last built 2026-05-20
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-02-05Pull request: opened by its own accountCommits: 5 by its own account · at least 1 crediting it in the message
- Claude Codefirst seen 2026-05-04Named in .Rbuildignore: .claudePull request it wrote: opened by a project memberCommits: at least 20 crediting it in the message
- Claude Sonnet 519 commits · Jul to Aug 2026
- Claude Opus 5.51 commit · Oct 2026
Dependencies
Code & Tests
Datasets
People & History
Package metadata
- First published
- 2025-08-27
- Total releases
- 6 / 1 yrs
- License
- GPL (>= 3) OSI
- Additional repositories
- evolecolgroup.r-universe.dev
- Minimum R
- ≥ 3.5.0
- Bundled data
- 0.3 KB / 1 file
- Download size
- 2.7 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("tidypopgen")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1111/2041-210x.70204.
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.