*Corresponding Author - christopher@greyson-gaito.com
- Department of Integrative Biology, University of Guelph, Guelph, ON, Canada
- CJGG – 0000-0001-8716-0290
- GG – 0000-0001-8170-1463
- KSM – 0000-0001-6031-7913
- data – empty folder for data files to be placed (created in slowfast_whitenoise.jl and slowfast_rednoise.jl)
- figs – empty folder for figures to be placed (created in slowfast_figures.jl)
- scripts
- packages.jl – list of packages required (file used in other scripts)
- quasipotential.R – R script file to produce quasipotential figures in Supporting Information
- slowfast_canardfinder.jl – julia script file containing code for the canard finder algorithm (file used in other scripts)
- slowfast_commoncode.jl – julia script file containing common code used in other scripts
- slowfast_metabolicmodel.jl – julia script file containing code producing the Yodzis and Innes metabolic model (file used in other scripts)
- slowfast_figures.jl – julia script to produce the figures in the manuscript
- slowfast_rednoise.jl – julia script to run the canard finder algorithm with red noise
- slowfast_whitenoise.jl – julia script to run the canard finder algorithm with white noise
- slowfast_CV.jl – julia script to calculate the coefficient of variation as the consumer's life history was varied from fast to slow
- .gitignore – file containing files and folders that git should ignore
- LICENSE.txt – CC by 4.0 License for this repository
- README.md – this file
- Download the GitHub/Zenodo repo
- Open the repo in Visual Studio Code (if you haven't already done so, set up Julia in Visual Studio Code)
- Most of the analysis here requires multiple cores. Thus to set up multiple cores on your computer, in Visual Studio Code find the Julia: Num Threads setting in the Extension Settings of the Visual Studio Code Julia Extension. Change this setting to at most the number of logical cores in your computer. Restart Julia. All parallel computing will run automatically regardless of the number of cores selected.
- Run slowfast_CV.jl, slowfast_whitenoise.jl, and slowfast_rednoise.jl to create the data required for slowfast_figures.jl. Note, depending on the number of cores in your computer, this will take a long time.
- Run slowfast_figures.jl to produce the figures in the manuscript.