Interactive Biogeography & Species Distribution Modeling (SDM) CURE Suite
Three Place-Based R Shiny Modules Exploring Evolutionary Radiations, Dispersal Bottlenecks, and Active Biological Invasions
This collection brings together three modular, open-source R Shiny laboratory suites—comprising ten interactive applications, quickstart installation guides, tiered undergraduate lab manuals, and scaffolded Base R + terra coding appendices. Each suite runs locally in RStudio from a lightweight, self-contained data bundle (~15–35 MB) with zero paid software, zero cloud-compute fees, and full open-data provenance.
1. Pedagogical Philosophy: Reading Living Landscapes
A foundational maxim of biogeography holds that an organism occurs only where it can both survive and get there—formalized in the BAM Framework as the intersection of Abiotic tolerances (\(\mathbf{A}\)), Biotic relationships (\(\mathbf{B}\)), and Movement / accessibility (\(\mathbf{M}\)) (Soberón & Peterson, 2005).
Too often, undergraduate students encounter Species Distribution Modeling (SDM) as a black-box exercise that extracts points from static climate pixels. Across these three suites, students instead learn to read natural history collections, field notes, fossil middens, and community-science observations as evidence of living, self-organizing ecological communities. Together, the three suites form a deliberate conceptual arc built around one recurring scientific challenge: What does an “absence” actually mean?
- Act I — Equilibrium & Evolutionary Radiations (Pinus spp.): Across an entire continent and 21,000 years of Quaternary climate change, students compare how phylogenetically distinct clades sort along abiotic gradients, biotic disturbance regimes (wildfire and bark beetles), and dispersal syndromes (corvid caching vs. wind).
- Act II — Dispersal Bottlenecks & The Case of the Missing Absence (Bursera microphylla & Vireo vicinior): Zooming into the Sonoran Desert, students confront a regional range gap across the Lower Colorado River Valley—testing whether an absence reflects winter frost, hyper-arid plains, or an avian migration corridor that bypasses the valley.
- Act III — Non-Equilibrium & Early Detection (Oncosiphon pilulifer): Crossing from South Africa’s winter-rainfall Fynbos/Karoo to southwestern North America, students watch the equilibrium assumption break in real time during an active biological invasion—and translate their models into GPS-ready field survey waypoints to intercept vanguard populations in Yuma County.
2. The Three Suites at a Glance
| Suite | Focal System | Core BAM & Statistical Tension | Modules & CRS | Field / Action Capstone | Resources |
|---|---|---|---|---|---|
| Suite I Continental Radiations |
North American Pinus (Subgenera Strobus & Pinus) | Macroevolutionary niche partitioning, clade convergence, Quaternary migrations, & wildfire / bark beetle tension zones | 4 Apps (pinus_app1.R–4.R)North American Albers ( NAD83, 1 km / 5 km) |
Place-based demographic & forest-health validation on iNaturalist | Quickstart | Lab Manual | Data Bundle |
| Suite II The Missing Absence |
Elephant Tree (Bursera microphylla) & Gray Vireo (Vireo vicinior) | Target-group background design, reciprocal herbarium reading, counterfactual Trough masking, & climate change velocity | 3 Apps (app1.R–3.R)Native WGS84 ( EPSG:4326, 1/5/10 km) |
Historical voucher investigation (1881 Parish specimen) & conservation connectivity memo | Quickstart | Lab Manual | Data Bundle |
| Suite III Active Invasion & EDRR |
Stinknet (Oncosiphon pilulifer) (South Africa → SW U.S., Australia & Mediterranean) | Cross-hemispheric transferability, non-analog climate (MESS), niche shift (COUE), equilibrium violation, & anthropogenic vectors |
3 Apps (app1.R–3.R)Native WGS84 ( EPSG:4326, 5 km / 1 km / 250 m) |
Yuma County EDRR Field Plan exported to KML / GPX / CSV + verified negative surveys | Quickstart | Lab Manual | Data Bundle |
3. Suite Profiles
Suite I: Biogeography, Niche Modeling, and Climate-Disturbance Dynamics of North American Pinus
- Central Question: How do evolutionary trade-offs between stress-tolerant, corvid-dispersed white/pinyon pines (Subgenus Strobus) and fire-adapted, wind-dispersed yellow pines (Subgenus Pinus) govern continental distributions from the Last Glacial Maximum to 21st-century megafires and bark beetle outbreaks?
- Module Progression:
- Module 1 (
pinus_app1.R): Continental species richness, univariate microclimate separation (1 km extractions vs. 5 km display), and standardized PCA hypervolumes across taxonomic sections and six biome outgroups. - Module 2 (
pinus_app2.R): White-box CART clade partitioning, ecological convergence, and testing the Geographic Domain Radius (\(M\)) overfitting/underfitting trade-off (100 km to continental). - Module 3 (
pinus_app3.R): 500-tree Random Forest ensembles, Out-of-Bag (OOB) ROC/AUC diagnostics, Gini variable importance, and Partial Dependence Plots (PDPs). - Module 4 (
pinus_app4.R): Quaternary hindcasts (LGM,Greenlandian,Northgrippian,Meghalayan) validated against Neotoma macrofossils, paired with 21st-century CMIP6 (MRI-ESM2-0) tension zones overlaid with 5-year MTBS wildfire perimeters and Dendroctonus/Ips bark beetle detections.
- Module 1 (
- Key Literature Anchors: Soberón & Peterson (2005); Cutler et al. (2007); Keeley (2012); Gibson et al. (2013); Jin et al. (2021).
Suite II: Natural History Records and the Case of the Missing Absence (Bursera microphylla & Vireo vicinior)
- Central Question: Why does the Elephant Tree thrive in the Gila Mountains of Yuma, Anza-Borrego, and the central Arizona sky islands, yet vanish across the thoroughly surveyed Lower Colorado River Valley immediately north of Yuma?
- Module Progression:
- Module 1 (
app1.R): Reciprocal reading of herbariumassociatedTaxanotes (uncovering 13 undocumented Bursera presences including synonyms Elaphrium microphyllum and Terebinthus microphylla), historical data auditing via the 1881 Parish brothers NYBG specimen, multi-scale spatial thinning (1 / 5 / 10 km), a curated 14-group absence pool (Pinaceae, Cupressaceae, Adenostoma chaparral outgroups, congeneric Bursera spp., and Top-10 herbarium associates), CART, and a rotatable 3D Geographic-to-Climatic Space Challenge. - Module 2 (
app2.R): Random Forest with MaxSSS thresholding, seasonal Gray Vireo (Vireo vicinior) flyways across USNVC structural vegetation and three longitudinal corridors, and a Counterfactual Trough-Masking Experiment separating dispersal limitation from abiotic filtering. - Module 3 (
app3.R): LGM (21 ka) and Mid-Holocene (6 ka) hindcasts summarized against age-stratified Neotoma packrat middens, CMIP6 (ACCESS-CM2) 21st-century range turnover, and a Climate Velocity Explorer (Loarie et al., 2009).
- Module 1 (
- Key Literature Anchors: Shreve & Wiggins (1964); Van Devender (1990); Bates (1992a, 1992b); Unitt (2000); Liu et al. (2005, 2013); Phillips et al. (2009); Loarie et al. (2009).
Suite III: Crossing Hemispheres Before the Wave Breaks (Oncosiphon pilulifer — Stinknet)
- Central Question: How accurately does a niche model calibrated in South Africa’s winter-rainfall Fynbos/Karoo anticipate invasions across North America, Australia, and the Mediterranean—and where should students survey in Yuma County this spring before the invasion wave crests?
- Module Progression:
- Module 1 (
app1.R): Native South African calibration (Asteraceae TGB) projected across SW North America, Southern Australia, and the Mediterranean Basin, paired with MESS (Multivariate Environmental Similarity Surface) non-analog extrapolation maps, hemisphere-safe quarterly climate comparisons, and PCA / COUE Niche Shift analysis (Stability, Expansion, Unfilling, Schoener’s \(D\)). - Module 2 (
app2.R): Animated SW U.S. invasion timeline (1980s–2026), herbarium time-machine framing (Kulmatiski et al., 2010), an out-of-time Equilibrium Violation Experiment (SW U.S.-only vs. Pooled Global models), and a Composite Invasion Model blending climate with Interstate highway corridors (I-8/I-10), urban/agricultural disturbance, and propagule pressure. - Module 3 (
app3.R): Interactive 250 m Yuma County EDRR Survey Planner combining climate suitability, highway/wash corridors (Gila River, Fortuna Wash, I-8, US-95), and Jan–Apr botanical survey blind spots—with custom pin placement, KML / GPX / CSV / GeoTIFF field exports, and a Sonoran Look-Alike Identification & Verified-Absence Protocol.
- Module 1 (
- Key Literature Anchors: Elith et al. (2010); Kulmatiski et al. (2010); Broennimann et al. (2012); Guisan et al. (2014).
4. Flexible Course Adoption Pathways
Every lab manual separates Core Inquiry prompts (accessible to introductory students with no prior coding background) from Upper-Division Synthesis callouts and optional Base R + terra Coding Appendices.
| Course Context | Recommended Sequence | Time Allocation | Primary Quantitative & Field Skills |
|---|---|---|---|
| Introductory Biology / Environmental Science (e.g., BIO 182, ENV 101) | Suite II (Core Inquiry) or Suite III (Core Inquiry + Yuma Field Walk) | 2–3 lab periods (5–7.5 hrs) | Reading maps & distributions, hypothesis falsification, interpreting decision trees & probability surfaces, iNaturalist observation literacy |
| Native Plants / Desert Botany / Field Methods (e.g., BSC 414, BSC 470) | Suite II + Suite III (Core + Upper-Division + Appendix A–C) | 4–6 weeks + 1–2 local field surveys | Herbarium voucher auditing, target-group absences, GPS/KML field navigation, look-alike taxonomy, verified-negative survey reporting |
| Biogeography / Spatial Ecology CURE (Full-Semester Progression) | Suite I → Suite II → Suite III (Full trilogy + Base R/terra Appendices) |
10–14 weeks | Full BAM synthesis, CART vs. Random Forest, PCA/COUE ordination, paleoclimate & CMIP6 raster algebra, independent research poster/manuscript |
5. Scaffolded Quantitative & R Progression
Students can complete all conceptual and experimental modules entirely through the interactive Shiny interfaces. For courses building computational data literacy, each lab manual includes a parallel Base R + terra Appendix that avoids heavy black-box frameworks and builds core skills progressively:
- Tabular & Spatial Vector Literacy: Reading GBIF CSV tables, auditing
basisOfRecordand collectionyear(table(),tapply(),hist()), locating historical outliers, and building WGS84/AlbersSpatVectorlayers. - Interactive Raster Operations: Inspecting multi-band
SpatRasterproperties (nlyr(),res(),ext(),crs()), interactive map interrogation (plot(),click(),zoom()), and regional cropping/summarization. - Raster Algebra & Model Evaluation: Exporting GeoTIFF probability surfaces directly from the Shiny apps, computing pixel-wise range turnover or temporal suitability shifts (
r_fut - r_curr), extracting predictions back to dated occurrence records, and summarizing team EDRR survey plans.
6. Quick Technical Requirements & Open Data Stewardship
- Software: Free, open-source R (v4.3+) and RStudio Desktop.
- Core Runtime Packages (Shared Across All Three Suites):
shiny,dplyr,tidyr,DT,terra,rpart,rpart.plot,randomForest(Suite I additionally usesshinycssloaders,pROC, andFNN). - Lean Distribution Design: Heavy raw downloads (multi-gigabyte climate tiles and unscreened GBIF archives) remain strictly outside student distribution folders. Each suite deploys as a single self-contained folder containing only
app*.R,R/helpers*.R,data/, and the Quarto guides. - Open Data Provenance: All occurrence archives carry permanent GBIF DOIs cited in the respective lab manuals, paired with public-domain environmental archives from WorldClim 2.1, CMIP6, Beyer et al. (2020) /
pastclim, the Neotoma Paleoecology Database, ESA WorldCover / USNVC, USGS/USFS MTBS, and U.S. Census TIGER/Line.
7. Citation, Open License & Human–AI Collaboration Disclosure
Transparent Human–AI Co-Development
This ten-application R Shiny ecosystem, reproducible data-curation pipeline, Quarto quickstart guides, tiered laboratory manuals, and unifying hub were co-developed in an iterative human–AI collaboration with Gemini (Google, Large Language Model, November–December 2026). Gemini contributed to geospatial and GBIF pipeline engineering (terra, rgbif, CoordinateCleaner, pastclim, neotoma2, tigris), interactive Shiny/Base R statistical visualization (CART, Random Forest, MESS, COUE, Loarie climate velocity, KML/GPX exporters), and curriculum scaffolding. All ecological hypotheses, taxonomic decisions, historical specimen verifications, cartographic palettes, statistical routines, and field protocols were independently tested, verified, and curated by the human author.
Licensing & Suggested Citation
- Curriculum & Documentation: Licensed under Creative Commons Attribution 4.0 International (CC BY 4.0)—instructors are encouraged to adapt, localize, and remix these labs for their own regions and taxa with attribution.
- R Code & Shiny Applications: Released under the MIT License.
- Suggested Citation: Gibson, J. (2026). Interactive Biogeography & Species Distribution Modeling (SDM) CURE Suite: North American Pinus, Bursera microphylla & Vireo vicinior, and Oncosiphon pilulifer (Version 1.0, co-developed with Google Gemini) [Open Educational Resource & R Shiny Software]. Arizona Western College.