You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-8Lines changed: 28 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
## Installation
6
6
7
-
Simulation are implemented in [Julia](https://julialang.org/), a recent version of Julia is required to reproduce this analysis (note that the code was only tested for Julia v1.6.0) along with the following packages (note that they can be installed using `src/install_packages.jl` in this repository, see below):
7
+
Simulations are implemented in [Julia](https://julialang.org/), a recent version of Julia is required to reproduce the analysis (note that the code was only tested for Julia v1.7.0) along with the following packages (note that they can be installed using `src/install_packages.jl` in this repository, see below):
or downloaded the [zip file](https://github.com/McCannLab/Labmnivory/archive/refs/heads/master.zip). If you haven't yet installed the packages, you can actually
31
-
use `src/install_packages.jl` in this repository. To do so, in a terminal, set your working directory at the root of the freshly cloned/downloaded repository, then use the following command line :
30
+
or downloaded the [zip file](https://github.com/McCannLab/Labmnivory/archive/refs/heads/master.zip). If you haven't yet installed the packages, you can actually use `src/install_packages.jl` in this repository. To do so, in a terminal, set your working directory at the root of the freshly cloned/downloaded repository, then use the following command line :
32
31
33
32
```julia
34
33
julia src/install_packages.jl
@@ -39,16 +38,37 @@ You should now be ready to reproduce the analysis.
39
38
40
39
## Structure of this repository
41
40
42
-
-`src`: source code
43
-
-`src/figs`: folder where figures are exported
44
-
-`figs/final`: final figure (after ediation with [Inkscape](https://inkscape.org/))
41
+
## General structure
45
42
43
+
-`src`: include source code.
44
+
-`fig/`: where figures are exported to.
45
+
-`fig/final`: final figures (after edition with [Inkscape](https://inkscape.org/)), available as SVG (`/svg/`) and EPS (`/eps/`).
46
46
47
-
## How to reproduce the analysis
48
47
49
-
In a terminal, assuming the working directory is set to be the the root of the freshly cloned/downloaded repository, use the following command line :
48
+
## Scripts (content of `/scr/`)
49
+
50
+
-`install_packages.jl`: contains code to install packages required;
51
+
-`basic_omnivory_module.jl`: includes all basic building blocs including the basic set of ODEs (`model!()`) and the functions to compute the different metrics (e.g. `overshoot()`);
-`pipeline.jl`: orchestrate the different scripts to reproduce the analysis.
59
+
60
+
61
+
## How to reproduce the analysis locally
62
+
63
+
In a terminal, assuming the working directory is the root of the freshly cloned/downloaded repository, use the following command line to reproduce the analysis.
50
64
51
65
```julia
52
66
julia src/pipeline.jl
53
67
```
54
68
69
+
70
+
71
+
## Questions
72
+
73
+
Script have been commented for ease of comprehension but if you still have some questions regarding the numerical implementation, do not hesitate to open an issue.
0 commit comments