sandwrm: An R Package for Estimating Wright's Neighbourhood Size and Species-Level Genetic Diversity.
Zachary B Hancock, Gideon S Bradburd
Department of Ecology & Evolutionary Biology, University of Michigan, Ann Arbor, Michigan, USA.
Key points
From the paper's conclusion- Collectively, these features can be modelled in a likelihood-based framework to estimate neighbourhood size-a localized measure of the rate of genetic drift-and long-term diversity from pairwise genetic and geographic distance.
Abstract
In most natural populations, individuals in close proximity are more related on average than those at greater distances; this pattern gives rise to geographic population genetic structure. Despite extensive theoretical work on spatial population genetics, few empirical methods exist to estimate the components of theoretical models of genetic relatedness in continuous space. One classic model of relatedness in continuous space is the Wright-Malécot model, which predicts that the probability of identity-by-descent decays as a function of geographic distances. The shape of this decay curve is dictated by the dynamics of local dispersal and mating, as well as population density. This model can be reformulated to describe the probability of identity-by-state, in which case the curve decays to an asymptote, the value of which is determined by the historical demography of the population. Collectively, these features can be modelled in a likelihood-based framework to estimate neighbourhood size-a localized measure of the rate of genetic drift-and long-term diversity from pairwise genetic and geographic distance. In this article, we introduce the R package sandwrm (Spatial Analysis of Neighbourhood size and Diversity using WRight-Malécot), which takes a Bayesian approach to estimate key parameters of populations that are both dispersal-limited (i.e., do not traverse the entire range in a single generation) and distributed continuously across a landscape. The R package can be installed from the GitHub repository, https://github.com/zachbhancock/sandwrm.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Deep Recovery of Effective Migration Surfaces.bioRxiv : the preprint server for biology · 2026
- Efficient capture-recapture inference for spatially varying natal dispersal,survival and recruitmentbioRxiv · 2026
- Genome-wide analysis reveals altitude-associated divergence in a colour-polymorphic insect.Heredity · 2026
- The genetic basis of adaptation to continuous environmental gradients informs predictions about climate change responsesbioRxiv · 2026
- Population Genomics of Chinese Melia azedarach Germplasm: Latitudinal Genetic Structure, Spatial-Climatic Associations, and Climate-Associated Candidate Genes.Life (Basel, Switzerland) · 2026
- SweepLink: Joint Inference of Demography and Linked~Selection from Time-series DatabioRxiv · 2026