How gledguri/smart-edna-sampling works
This repository supports two related products: an interactive eDNA survey planner and an analysis workflow studying how sampling effort affects Gaussian Process (GP) prediction and spatial-parameter recovery. The documented analysis runs from archived inputs through simulated and empirical-data model fitting, compiled results, and manuscript figures. The README describes the planner’s user-facing behavior, but no source excerpts were provided, so its internal implementation and connections to the analysis are not inferred.
Main entry points: 00_Download_data.R Download inputs · 01_GP_sim.R Spatial GP simulations · Output Simulation outputs · edna_data.rds Empirical eDNA
Components 13
Survey planner
- Interactive planner
Code/eDNA_survey_planner_v4.R
Sampling analysis
- Download inputs
Code/00_Download_data.R - Empirical eDNA
Data/edna_data.rds - Prediction grid
Data/pred_data.rds
GP modeling
- Spatial GP simulations
Code/01_GP_sim.R - Stan GP model
Code/GP.stan - Simulation outputs
Output
Results and figures
- Compile results
Code/02_Data_manip.R - Compiled results
Output/Complete_db - Manuscript figures
Code/03_Plots.R - Figure files
Plots
Other components
- Survey planner user
- Zenodo archive
Connections 13
- Survey planner user → Interactive planner: uses
README.md - Zenodo archive → Download inputs: provides archive
README.md - Download inputs → Empirical eDNA: downloads data
README.md - Download inputs → Prediction grid: downloads data
README.md - Download inputs → Simulation outputs: downloads output
README.md - Empirical eDNA → Spatial GP simulations: thins and fits
README.md - Prediction grid → Spatial GP simulations: defines prediction grid
README.md - Spatial GP simulations → Stan GP model: fits model
README.md - Spatial GP simulations → Simulation outputs: saves results
README.md - Simulation outputs → Compile results: collects outputs
README.md - Compile results → Compiled results: writes data
README.md - Compiled results → Manuscript figures: reads data
README.md - Manuscript figures → Figure files: saves figures
README.md