The code for Xu et al. Density dependence promotes species coexistence and provides a unifying explanation for distinct productivity-diversity relationships
Authors/Creators
- 1. Department of Global Ecology, Carnegie Institution for Science, Stanford, CA, USA
Contributors
Project members:
- 1. W. K. Kellogg Biological Station, Department of Plant Biology & Integrative Biology, Program in Ecology, Evolution & Behavior, Michigan State University, USA
- 2. Department of Global Ecology, Carnegie Institution for Science, Stanford, CA, USA
Description
This dataset includes all code used for the simulation models, as well as the scripts for generating figures and performing data analyses. Each file provides additional details on its specific purpose and usage.
0-figure1.jl generates the graphical analyses shown in Figure 1.
1-Sim_data_for_figure3.jl runs the simulations used for Figure 3.
1-HPC_sim_data_for_figure3_bash.sh is the HPC batch-submission script (Unix environment). It launches 1-Sim_data_for_figure3.jl for 100 simulation runs with varying parameter values.
2-figure3.jl produces Figure 3 from the simulation outputs. These data can be generated by the scripts above or loaded directly from the data/ directory.
3-figure4.jl generates Figure 4a using the corresponding simulated data.
4-figure4b_EmpiricalAnalysis_Adler_eachsite.R and 4-figure4c_EmpiricalAnalysis_Fraser_eachsite.R generate Figures 4b and 4c using the two global empirical datasets stored in data/.
PNR_model.jl contains the simulation model for the simple guilds described in Section 2 of the paper and is called by the scripts used to generate Figure 1.
Files
fraser_plotdata_corrected.csv
Files
(1.7 GB)
| Name | Size | Download all |
|---|---|---|
|
md5:81abf3599dd5ce6290e45f6806a8cba7
|
21.9 kB | Download |
|
md5:dfcdfb527f1a8ea26c5d626958440d1e
|
979 Bytes | Download |
|
md5:b9d51ff89286303553dec84cdc6db66b
|
2.9 kB | Download |
|
md5:a322fd5e7b5c1856435f4f76905db125
|
2.5 kB | Download |
|
md5:2875e5282046a4d764b93fc0dd215598
|
3.3 kB | Download |
|
md5:44a61146610551da668988dad51d5ea7
|
5.7 kB | Download |
|
md5:6a97b23856b64f4ed7aba93feef970ac
|
7.9 kB | Download |
|
md5:3f5e1cd4552de45d1252f3a4f34836df
|
1.7 GB | Download |
|
md5:11abad8e670aafbc92348472221a08d4
|
3.6 MB | Preview Download |
|
md5:a8a083061f82c369af8d71380efcc78a
|
2.4 kB | Download |
Additional details
Funding
- U.S. National Science Foundation
- MIM: Machine Learning, Systems Modeling, and Experimental Approaches to Understand the Universal Rules of Life of Microbiota Using Marine Time Series Data 2125142