bioRxiv Science⌕ Search

Biology subjects

MacDonald, Z. G.

Publications and source records attributed to MacDonald, Z. G..

3 recordsLinked to original sources

NicheDiv: A DAPC framework to quantify niche divergence across highly multivariate environmental space

Quantifying niche divergence is crucial to understanding the ecological and evolutionary processes underlying range limits, coexistence, speciation, biogeography, and macroevolution. Yet available approaches rely on low-dimensional climate summaries, are vulnerable to multiple biases, or struggle with high-dimensional collinear data. We introduce the R package NicheDiv, which adapts discriminant analysis of principal components (DAPC) to quantify pairwise niche divergence across any number of abiotic and biotic environmental variables associated with occurrence records. Our method first addresses correlations among environmental variables through principal component analysis. It then identifies a single discriminant axis that maximizes separation between predefined groups (species/lineages/populations), summarizing multivariate niche structure into one dimension. Significance is assessed by a permutation test that reshuffles group identities to mimic a shared niche. To characterize ecological differentiation, NicheDiv calculates Schoeners D as an overlap index and extends the niche divergence plane to multivariate space, providing metrics such as niche dissimilarity and exclusivity. Extracted variable contributions from the discriminant axis identify environmental variables that contribute most to divergence. Using simulations and empirical data together with a large set of environmental layers, we demonstrate that NicheDiv is computationally scalable, detects subtle divergence in high-dimensional space despite multicollinearity, distinguishes different forms of niche divergence (weighted, nested, soft, hard), and identifies the variables that potentially drive divergence. Compared with alternative divergence tests (PCA-env, hypervolumes, MVNH, PERMANOVA, PCA-space, and logistic regression), NicheDiv generally retains more variation, scales more consistently with increasing divergence, and returns more interpretable effect sizes. NicheDiv automatically extracts such environmental data from preconfigured and user-supplied GIS layers and implements a preprocessing pipeline that reduces known biases: delimiting accessible background space, spatially thinning occurrences, balancing sample sizes, filtering low-information variables, and screening predictors for between-group environmental analogy. We test our framework with empirical analyses of Hemileuca buck moths and demonstrate that their niches are structured by a range of seasonal abiotic and biotic variables rather than annual climatic averages. Overall, NicheDiv offers a robust framework for characterizing niche divergence across multiple environmental axes in support of species delimitation, local adaptation, community ecology, biogeography, and macroevolution.

ecology↗

Species distribution modeling for conservation science: new predictor layers, reproducible code, and an evaluation of California protected areas

AimOur study provides foundational resources for future SDMing: methods for generating fine-scale, equal-area predictor datasets and best-practice SDM guidelines. We also provide reproducible code to streamline their implementation. LocationSouthwestern North America MethodsUsing over 215,000 research-grade iNaturalist occurrence records for 127 species of conservation concern or scientific interest in California and surrounding area, we quantified and compared SDM performance between two predictor datasets that differ in their source of bioclimatic data, spatial resolution, and coordinate reference system: one generated using ClimateNA software (resolution = 300 x 300 m; NAD83/California Albers) and the other using existing WorldClim data (varying resolution = [~]669-797 x 926 m; WGS84). We also compared two modeling algorithms (MaxEnt vs Random Forests), and two background point selection strategies (random points vs weighted points accounting for sampling effort). As an example application, we used SDM predictions to evaluate the conservation value of different protected area types within California. ResultsClimateNA outperformed WorldClim for 94% of species, Random Forests outperformed MaxEnt for 87%, and random background points outperformed weighted background points for 100%. All differences were statistically significant. Together, the ClimateNA dataset, Random Forests, and random background points achieved highest performance for 86% of species. Using this best-performing set of models, we found that regional parks, county parks, state beaches, and open spaces in California were highest in multi-species suitability, while larger protected areas, such as national parks and national forests, generally exhibited surprisingly low suitability. Substantial spatial biases intrinsic to SDMing with unprojected predictor datasets (e.g., WGS84) are described, along with clear solutions using equal-area predictor datasets. Main conclusionsConsiderable disparity was observed among the performance of common SDM methods. This study highlights the importance of fine-scale, equal-area predictor datasets and best-practice guidelines, and demonstrates how SDMs can provide critical insights into protected area planning.

ecology↗

Whole-genome evaluation of genetic rescue: the case of a curiously isolated and endangered butterfly

Genetic rescue, or the translocation of individuals among populations to augment gene flow, can help ameliorate inbreeding depression and loss of adaptive potential in small and isolated populations. Genetic rescue is currently under consideration for an endangered butterfly in Canada, the half-moon hairstreak (Satyrium semiluna). A small, unique population persists in Waterton Lakes National Park, Alberta, isolated from other populations by >350km. However, whether genetic rescue would actually be helpful has not been evaluated. Here, we generate the first chromosome-level genome assembly and whole-genome resequence data for the species. We find that the Alberta populations genetic diversity is extremely low and very divergent from the nearest populations in British Columbia and Montana. Runs of homozygosity suggest this is due to a long history of inbreeding, and coalescent analyses show that the population has been small and isolated, yet stable for up to 40k years. When a population maintains its viability despite inbreeding and low genetic diversity, it has likely undergone purging of deleterious recessive alleles and could be threatened by their reintroduction via genetic rescue. Ecological niche modelling indicates that the Alberta population also exhibits environmental associations that are atypical of the species. Together, these results suggest that population crosses are likely to result in outbreeding depression. We infer that, in this case, genetic rescue has a relatively unique potential to be harmful rather than helpful at present. However, due to reduced adaptive potential, the Alberta may still benefit from future genetic rescue as climate conditions change. Proactive experimental population crosses should be completed to assess reproductive compatibility and offspring fitness.

ecology↗