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
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
# moorea_filmies
2
2
3
-
Code repostitory to run analyses and generate figures and manuscript for Nitta et al. "Intergenerational Niche Differentiation in Filmy Ferns (Hymenophyllaceae)".
3
+
Code repostitory to run analyses and generate figures and manuscript for Nitta et al. "Ecophysiological differentiation between life stages in filmy ferns (Hymenophyllaceae)". ([preprint](https://doi.org/10.1101/2021.03.12.435213))
4
4
5
-
All code is in [R](https://cran.r-project.org/). The [targets package](https://wlandau.github.io/targets/index.html) is used to manage the workflow.
5
+
All code is in [R](https://cran.r-project.org/). The [targets package](https://wlandau.github.io/targets/index.html) is used to manage the workflow.
6
6
7
7
To run all analyses and generate the manuscript:
8
8
@@ -20,8 +20,8 @@ For each of the links below, click on "Download Dataset" or "Download all", then
20
20
21
21
## Reproducible analysis with Docker
22
22
23
-
The analysis code requires various packages to be installed, and may not work properly if package versions have changed. Therefore, a
24
-
[Docker image is provided](https://hub.docker.com/r/joelnitta/moorea_filmies) to run the code reproducibly. You can
23
+
The analysis code requires various packages to be installed, and may not work properly if package versions have changed. Therefore, a
24
+
[Docker image is provided](https://hub.docker.com/r/joelnitta/moorea_filmies) to run the code reproducibly. You can
25
25
[install docker from here](https://docs.docker.com/install/).
26
26
27
27
Navigate to the cloned repository (where `/path/to/repo` is the path on your machine):
@@ -33,13 +33,13 @@ cd /path/to/repo
33
33
Unzip the data:
34
34
35
35
```
36
-
docker run --rm -v ${PWD}:/tmpdir -w /tmpdir joelnitta/moorea_filmies:0.0.1 Rscript R/unzip_data.R
36
+
docker run --rm -v ${PWD}:/tmpdir -w /tmpdir joelnitta/moorea_filmies:0.0.2 Rscript R/unzip_data.R
You will see the targets being built by `targets`. The final manuscript should be compiled at the end as `manuscript.docx` (MS for journal submission) and `moorea_filmies_preprint.pdf` (preprint PDF) in the `results/ms` folder. Other figure and table files will also be compiled. Supplemental information will be written to the `results/si` folder.
@@ -52,7 +52,7 @@ If you want to interact with the code in the Docker container, you can launch th
52
52
docker-compose up -d
53
53
```
54
54
55
-
Navigate to http://localhost:8787/ in your browser of choice (firefox or google chrome recommended). There, you should be able to access an instance of the [RStudio](https://rstudio.com/) IDE, which can be used to inspect and manipulate objects in R.
55
+
Navigate to http://localhost:8787/ in your browser of choice (firefox or google chrome recommended). There, you should be able to access an instance of the [RStudio](https://rstudio.com/) IDE, which can be used to inspect and manipulate objects in R. You can click on "Build All" in the "Build" tab to run the workflow.
0 commit comments