bioRxivEcologyPreprint
WolfPackR: An R package for identifying wolf packs based on genetic and spatial data
Abstract
The global expansion of grey wolf (Canis lupus) populations, particularly in Europe, underscores the need for robust tools to study their social structure, territory use, and genetic relatedness. Wolf packs are dynamic, evolving through dispersal, mortality, and reproductive success, and their accurate identification is crucial for effective conservation and conflict mitigation. Traditional methods for estimating wolf populations and pack structures--such as snow tracking or howling surveys--are labor-intensive and often unreliable. Noninvasive genetic sampling and spatial capture-recapture models have improved monitoring, but integrating genetic and spatial data remains a challenge. We introduce WolfPackR, an R package designed to integrate genetic relatedness and spatial data for identifying wolf packs, lone individuals, and spatially isolated but genetically linked "ugly ducklings." WolfPackR uses pairwise relatedness estimators to define genetic groups and refines these groups through spatial overlap analysis based on Minimum Convex Polygons (MCPs). The package provides a comprehensive toolkit for analyzing population structure, territoriality, and social organization, including functions for genetic grouping, spatial clustering, summary statistics, and interactive visualization. We demonstrate the utility of WolfPackR using a case study of 505 genotyped and geospatialized wolf scat samples from Romania. By combining genetic and spatial data, WolfPackR accurately identifies pack structures that align with expert assessments and family tree reconstructions. The package modular design and reliance on widely used R libraries (dplyr, igraph, sf, leaflet) ensure flexibility and ease of integration into existing workflows. While sampling heterogeneity may limit territory delineation in some cases, WolfPackR offers a cost-effective and reproducible framework for studying wolf pack dynamics, with potential applications for other social species.
- Citations
- 0
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
- Assessment of the residential Finnish wolf population combines DNA captures, citizen observations and mortality data using a Bayesian state-space model
S. Mäntyniemi, I. Helle, I. Kojola·bioRxiv·Dec 21, 2021
- The population structure and genetic health of European wolves
Evelyn T. Todd, Claudia Fontsere, … Shyam Gopalakrishnan·bioRxiv·Mar 21, 2026
- Extreme spatial plasticity in Italian wolves: ecological determinants of range size and movement patterns across heterogeneous landscapes
Silvia Cavazza, Rudy Brogi, … Marco Apollonio·European Journal of Wildlife ResearchPeer-reviewed·Jul 21, 2026
- habCluster: Identifying Geographical Boundary among Intraspecific Units Using Community Detection Algorithm in R
- Wolf-dog hybrids arise: new insight into the eastern fringe of the Northern European wolf population
K. F. Tirronen, A. S. Kuznetsova·bioRxiv·Dec 4, 2023
- Mapping and explaining wolf recolonization in France using dynamic occupancy models and opportunistic data
J. Louvrier, C. Duchamp, … O. Gimenez·bioRxiv·Jan 11, 2017