Skip to content

Commit 084912b

Browse files
committed
changed chunk options and path to .betykey
1 parent 7820ad5 commit 084912b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

traits/04-danforth-indoor-phenotyping-facility.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Danforth Indoor Phenotype Analysis
22

33
```{r 02-setup, include=FALSE}
4-
knitr::opts_chunk$set(echo = TRUE, cache = TRUE)
4+
knitr::opts_chunk$set(echo = TRUE, cache = FALSE)
55
library(jsonlite)
66
library(dplyr)
77
library(ggplot2)
@@ -21,7 +21,7 @@ library(traits)
2121
Unlike the first two tutorials, now we will be querying real data from the public TERRA REF database. So we will use a new URL, https://terraref.ncsa.illinois.edu/bety/, and we will need to use our own private key.
2222

2323
```{r terraref-connect-options}
24-
options(betydb_key = readLines('traits/.betykey', warn = FALSE),
24+
options(betydb_key = readLines('.betykey', warn = FALSE),
2525
betydb_url = "https://terraref.ncsa.illinois.edu/bety/",
2626
betydb_api_version = 'v1')
2727
```
@@ -92,7 +92,7 @@ ggplot(data = danforth_sorghum) +
9292

9393
### Growth rate over time
9494

95-
```{r danforth-phenotypes, fig.width=8, fig.height=4}
95+
```{r danforth-phenotypes, fig.width=8, fig.height=4, message = FALSE}
9696
9797
ggplot(data = danforth_sorghum, aes(x = date, y = mean, color = cultivar)) +
9898
# geom_line(aes(group = entity), size = 0.1) +

0 commit comments

Comments
 (0)