Giter VIP home page Giter VIP logo

bulinus_truncatus_models's Introduction

Code repo for van der Deure, Maes, Huyse & Stensgaard (2024)

This repository contains all code for "Climate change could fuel urinary schistosomiasis transmission in Africa and Europe" (2024) by van der Deure, T., Maes, T., Huyse, T., and Stensgaard,. A-S and published in Global Change Biology.

In this publication, we use correlative and mechanistic modelling to predict the current and future distribution of schistosomiasis intermediate host Bulinus truncatus.

The code used for correlative and mechansitic modelling are found in separate folders.

To reproduce the correlative modelling, first install the necessary packages using the script provided. Note that we used biomod2 version 4.2.4. Then download environmental layers by running 03_layers.R, fit the models using 04_models.R and run the projections using 06_projections.R. All model settings used are specified in 04_models.R. The other scripts in this folder apply spatial thinning to the occurrence points, build background layers, and investigate correlations between environmental variables.

Most mechanistic modelling was performed in Julia. The packages used including their versions are provided in Manifest.toml. Use Pkg.instantiate() to install all packages. Run climate_data.jl to download the necessary climate layers. run_model.jl generates model runs, calling the other scripts as required. Under trait_fits, the R script fit_traits.R fits Bayesian hierarchical models to the snail life history data, which is imported by the same script.

Figures are generated by two Julia scripts plot_maps.jl and plot_thermal_curves.jl, both in the figures folder.

To use another folder to store big files (e.g. when using a hard drive), simply change the paths specified in globals.jl. These paths are used to write to from mechanistic models, and are then used to read from to plot their outputs.

Most of the life history trait data used in the mechanistic models stem from an experiment that has been separately published as a preprint.

All primary, intermediate, and output data used in and generated by this code is avaiable for download on Dryad at the following link: https://doi.org/10.5061/dryad.98sf7m0s9.

Anyone is welcome to use, adapt, or redistribute (parts of) the code provided here. When using this code as part of a scientific publication, please cite the forthcoming publication.

The corresponding author for the publication is Tiem van der Deure, email [email protected].

bulinus_truncatus_models's People

Contributors

tiemvanderdeure avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.