<i>tidypopgen</i> : Tidy population genetics in R

Abstract As genome‐wide data have 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 single‐nucleotide polymorphism (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. tidypopgen 's 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.

Institutions

Publication Details

Journal
Methods in Ecology and Evolution
Published
2025-12-08
DOI
https://doi.org/10.1111/2041-210x.70204
Primary Topic
Genetic Associations and Epidemiology
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

tidypopgen : Tidy population genetics in R

Methods in Ecology and Evolution
Genetic Associations and Epidemiology
article

tidypopgen : Tidy population genetics in R

article en

Abstract

Abstract As genome‐wide data have 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 single‐nucleotide polymorphism (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. tidypopgen 's 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.

Methods in Ecology and EvolutionVol. 17(2)
University of Cambridge (GB), Anglia Ruskin University (GB)
Openalex Percentile: Top 30%
Genetic Associations and Epidemiology
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.