https://github.com/biodivhealth/disease-prevalence-nichecentralitytheory
https://github.com/biodivhealth/disease-prevalence-nichecentralitytheory
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: BioDivHealth
- Language: R
- Default Branch: main
- Size: 45.7 MB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Disease-prevalence-NicheCentralityTheory
Introduction (needs to be edited)
Species population parameters such as densities and population connectivity can greatly impact the transmission and prevalence of infectious diseases and parasites. Although precise accounts of species ranges and distribution data exist (e.g IUCN Red-List and Gbif databases), population and habitat use data are scarcer. This makes the study of the relationship between species population dynamics and infection disease prevalence challenging. However, some authors have proposed that species habitat quality and distance to range can impact species abundance and fitness. This is usually termed as the niche Centrality Hypothesis or NCH, which postulates that species should be more efficient when they occur in optimal environments than when they grow in marginal conditions or sub-optimal habitats.
In this project, we are going to use the principles of the NCH to explore the relationships between infectious diseases and species' optimal/marginal habitats. Under the NCH assumptions we can potentially describe two different scenarios of infectious disease-species habitat relationships: In the first scenario, species abundances have a positive effect on the transmission and prevalence of the infectious disease across the population, therefore we are going to detect more positive cases towards de areas where the habitat is optimal for the species. In a second scenario, the lower fitness of species makes them more susceptive to infection and therefore most positive cases are going to be detected in sub-optimal or marginal habitats. We are going to explore these possibilities using two different approaches:
1.a Records distance to species range perimeter and centroid
Simple calculation of the minimum distance of a presence or disease occurrence point to the known range of the species (Figure

1.b Habitat suitability and area of maximum probability of occurrence (AMPO)
Based on the modelling of the species habitat, this method will first build a Species Distribution Model using all the available spatial information for the species. Then, the SDM model will be trim based on the maximum performance of the Kappa parameter and the resulting areas will be used as references within and outside the known range of the species

Scripts
- 0. DUummyData.R: Prepares some random spatial data to test functions and set the format for the species spatial data.
- 1. RangeAnalysis.R: Using the prepared data, performs the spatial analysis to extract the range and niche distance for a set of species presence data.
- ./trappingdatascripts/0.0 filterrawdata.R: Collates trapping data from the extraction sheets in ./Data/rawtrappingdata and filters to keep only studies with site resolution <1km. Outputs to rawtrappingdata/trappingdataNC.rds.
- ./trappingdatascripts/0.1 reshapetrappingdata.R: Reshapes the filtered raw data to the desired shape. Keeps only species in top 20 for number of unique sites. outputs to cleansitedata.rds.
- ./trappingdatascripts/1.0 visualisetrappingdata.R: Makes some plots visualising the dataset (cleansitedata.rds). Plots are outputted in ./Results/Figures/. # Functions
- distance_ranges.R: Calculates the distance of points to the perimeter and centroid of a given polygon.
- distanceppoints (included into distance_ranges.R): Calculate the minimum distance of points to polygons.
- Predtopolygons.R: Takes an SDM model prediction and transform these predictions into polygons within an outside a species range.
- rast_harmonization.R: given a list of raster routes, it performs a spatial harmonization to use the data for the SDM analysis.
Tasks
- Select the set of environmental variables to model species habitat suitability
- Select the algorithm to calculate species SDM (right now only GLMs are implemented)
- Download the spatial information for the different rodent species
Get the disease prevalence data, prepare the data into format vlance patogen prevalence group by desease and host
Add a distance to border and distance to polygon (size) arguments to distnceppoints functiom
Owner
- Name: Biodiversity and Health
- Login: BioDivHealth
- Kind: organization
- Repositories: 1
- Profile: https://github.com/BioDivHealth
GitHub Events
Total
- Delete event: 2
- Push event: 32
- Pull request event: 2
- Create event: 4
Last Year
- Delete event: 2
- Push event: 32
- Pull request event: 2
- Create event: 4