{"title":"sandwrm: An R Package for Estimating Wright's Neighbourhood Size and Species-Level Genetic Diversity","authors":"Zachary B. Hancock, Gideon S. Bradburd","doi":"10.1111/1755-0998.70212","DOIUrl":null,"url":null,"abstract":"<p>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 <span>sandwrm</span> (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 <span>R</span> package can be installed from the GitHub repository, https://github.com/zachbhancock/sandwrm.</p>","PeriodicalId":211,"journal":{"name":"Molecular Ecology Resources","volume":"26 7","pages":""},"PeriodicalIF":5.9000,"publicationDate":"2026-10-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1111/1755-0998.70212","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Molecular Ecology Resources","FirstCategoryId":"99","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1111/1755-0998.70212","RegionNum":1,"RegionCategory":"生物学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"BIOCHEMISTRY & MOLECULAR BIOLOGY","Score":null,"Total":0}
引用次数: 0
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.
期刊介绍:
Molecular Ecology Resources promotes the creation of comprehensive resources for the scientific community, encompassing computer programs, statistical and molecular advancements, and a diverse array of molecular tools. Serving as a conduit for disseminating these resources, the journal targets a broad audience of researchers in the fields of evolution, ecology, and conservation. Articles in Molecular Ecology Resources are crafted to support investigations tackling significant questions within these disciplines.
In addition to original resource articles, Molecular Ecology Resources features Reviews, Opinions, and Comments relevant to the field. The journal also periodically releases Special Issues focusing on resource development within specific areas.