Methods in Ecology and EvolutionBioinformaticsPeer-reviewed journal article
tidypopgen: Tidy Population Genetics in R
Evelyn J. CarteriD, Eirlys E. TysalliD, Jason HodgsoniD, Andrea ManicaiD
Abstract
As genome-wide data has become increasingly available, software libraries for their analysis have proliferated. While new tools for downstream analyses are constantly emerging, existing workflows are hindered by inefficiencies. Switching between coding languages and object types in the early stages of pipelines wastes researchers time, impedes reproducibility, and creates opportunity for error. To confront these obstacles, we introduce tidypopgen, a comprehensive R package for population genetic analysis of biallelic SNP data. Genotype data can be read, filtered, and analysed within a single environment, without the need for prior data cleaning or setup with other software. tidypopgens gen_tibble object structure makes analysis efficient and intuitive, while standardised tidy grammar makes data manipulation clear. Functionality within tidypopgen supports cleaning and merging datasets, basic descriptive statistics, multivariate analysis, clustering algorithms, and F-statistics, as well as integrating with existing tools for population genetic analyses in R. We use the Human Genome Diversity Project SNP dataset (Li et al., 2008) to show that a basic population genetic workflow can be executed in under 25 lines of code in a single environment using one file set, without the need to write superfluous outputs or change directories. By supporting data assembly through to data analysis, tidypopgen significantly streamlines workflows without compromising speed or functionality.
- organism: human
- assay: whole-genome sequencing
- research focus: software / tool
- research focus: benchmarking
- approach: statistical model
- Citations
- 4
- FWCI
- 2.95
- Field percentile
- top 8%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- tidygenclust: Clustering for Population Genetics in R
Eirlys E. Tysall, Anahit Hovhannisyan, … Andrea Manica·bioRxiv·Jul 29, 2025
- genomalicious: serving up a smorgasbord of R functions for performing and teaching population genomic analyses
Joshua A. Thia·bioRxiv·Apr 22, 2024
- SambaR: an R package for fast, easy and reproducible population-genetic analyses of biallelic SNP datasets
Menno de Jong, Joost F. de Jong, … Axel Janke·Molecular Ecology ResourcesPeer-reviewed·Jan 27, 2021
- snputils: A High-Performance Python Library for Genetic Variation and Population Structure
David Bonet, M Cara, … Alexander G. Ioannidis·bioRxiv·Mar 3, 2026
- The Pop-gen Pipeline Platform: A Software Platform for Facilitating Population Genomic Analyses
Andrew E. Webb, Jared G. Knoblauch, … Arun Sethuraman·bioRxiv·Sep 30, 2019
- Genal: A Python Toolkit for Genetic Risk Scoring and Mendelian Randomization
Cyprien A. Rivier, Santiago Clocchiatti‐Tuozzo, … Julián Acosta·Bioinformatics AdvancesPeer-reviewed·Dec 19, 2024