Skip to content

Commit bc78a83

Browse files
committed
minor corrections and updates to the paper
1 parent 7d3aabf commit bc78a83

File tree

4 files changed

+114
-31
lines changed

4 files changed

+114
-31
lines changed

paper/paper.Rmd

+11-11
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ Dendrochronological analyses are often based on the comparison of tree-ring seri
3939

4040
# Statement of need
4141

42-
There are several packages available in R for dendrochronological research [@guiterman2020; @jevsenak2018; @campelo2012; @bunn2008; @shi2019; @vandermaaten-theunissen2015; @reynolds2021; @altman2014; @malevich2018; @rademacher; @campelo2019; @haneca2023; @alday2018]. An overview with links to these packages can be found online (<https://ronaldvisser.github.io/Dendro_R/>). Some packages are specifically creates to obtain measurements [@campelo2019; @shi2019], while others are written for crossdating [@reynolds2021]. There are also various for analysing tree-ring data [@alday2018; @alday2018; @altman2014; @bunn2008; @campelo2012; @guiterman2020]. These R-packages in dendrochronology all fill different needs, but the nice thing is that these are all interconnected in some way in depending on each other, or that they build further into different avenues. Apart from depending on dendrochronological packages, various packages from the Tidyverse [@wickham2019] are often also needed. The various relations can easily be visualised using a network, with the edges based on the dependency of two packages on each other, and and arrow indicating the direction of the dependency.
42+
There are several packages available in R for dendrochronological research [@guiterman2020; @jevsenak2018; @campelo2012; @bunn2008; @shi2019; @vandermaaten-theunissen2015; @reynolds2021; @altman2014; @malevich2018; @rademacher; @campelo2019; @haneca2023; @alday2018]. An overview with links to these packages can be found online (<https://ronaldvisser.github.io/Dendro_R/>). Some packages are specifically creates to obtain measurements [@campelo2019; @shi2019], while others are written for crossdating [@reynolds2021]. There are also various for analysing tree-ring data [@alday2018; @alday2018; @altman2014; @bunn2008; @campelo2012; @zang2015; @guiterman2020]. These R-packages in dendrochronology all fill different needs, but the nice thing is that these are all interconnected in some way in depending on each other, or that they build further into different avenues. Apart from depending on dendrochronological packages, various packages from the Tidyverse [@wickham2019] are often also needed. The various relations can easily be visualised using a network, with the edges based on the dependency of two packages on each other, and and arrow indicating the direction of the dependency. Some R-package for dendrochronology or tree-ring studies have no relation with others, but fill specific needs [@peters2018; @lara2018; @campelo2016; @aryal2020]. These are left out of the network (see Figure \@ref(fig:packages-network)).
4343

44-
```{r, out.width="50%", fig.cap = "The interdependent relations between existing R-packages related to dendrochronology", echo=FALSE}
44+
```{r, packages-network, out.width="50%", fig.cap = "The interdependent relations between existing R-packages related to dendrochronology", echo=FALSE}
4545
g_dendro_packages <- igraph::graph( c("dplR", "dfoliatR", "tidyverse", "dfoliatR",
4646
"dplR", "dendroTools", "tidyverse", "dendroTools",
4747
"dplR", "detrendeR", "tidyverse", "dplR",
@@ -51,25 +51,25 @@ g_dendro_packages <- igraph::graph( c("dplR", "dfoliatR", "tidyverse", "dfoliatR
5151
"dplR", "pointRes", "tidyverse", "pointRes",
5252
"dplR", "RingdateR", "tidyverse", "RingdateR",
5353
"dplR", "wiad", "tidyverse", "wiad",
54-
"dplR", "TRADER", "dplR", "xRing", "detrendeR", "xRing", "tidyverse","dendroSync", "tidyverse", "burnr"))
54+
"dplR", "TRADER", "dplR", "xRing", "detrendeR", "xRing", "tidyverse","dendroSync", "tidyverse", "burnr", "tidyverse", "treeclim"))
5555
plot(g_dendro_packages, edge.arrow.size=.1, vertex.color="deepskyblue",
5656
vertex.size=15, vertex.label.color="darkslategrey", vertex.label.family="sans", vertex.font.size=5,
5757
vertex.label.cex=0.8, vertex.label.dist=2, vertex.shape="sphere")
5858
```
5959

60-
The network shows that nearly all packages depend on dplR [@bunn2008]. The newly created package dendroNetwork fits in this ecosystem of depending packages, since it depends on both dplR and the Tidyverse. In addition, it adds a whole new world by adding network analyses through igraph [@csardi2006] to the ecosystem of dendrochronological packages. The igraph library has close connections to the tidyverse, creating a full circle and filling a gap as shown in the networks below.
60+
The network shows that nearly all packages depend on dplR [@bunn2008]. The newly created package dendroNetwork fits in this ecosystem of depending packages, since it depends on both dplR and the Tidyverse. In addition, it adds a whole new world by adding network analyses through igraph [@csardi2006] to the ecosystem of dendrochronological packages. The igraph library has close connections to the tidyverse, creating a full circle and filling a gap as shown in the networks below (see Figure \@ref(fig:dendroNetwork-packages)).
6161

62-
```{r, fig.show="hold", out.width="50%", fig.cap = "The interdependent relations between R-packages including dendroNetwork. On the left only the dependencies for dendroNetwork, on the right all dendrochronological R-packages, including dendroNetwork", echo=FALSE}
62+
```{r, dendroNetwork-packages, fig.show="hold", out.width="50%", fig.cap = "The interdependent relations between R-packages including dendroNetwork. On the left only the dependencies for dendroNetwork, on the right all dendrochronological R-packages, including dendroNetwork", echo=FALSE}
6363
g_dendroNetwork <- igraph::graph( c("dplR", "dendroNetwork", "tidyverse", "dendroNetwork", "igraph", "dendroNetwork", "igraph", "tidyverse", "tidyverse", "igraph"))
6464
plot(g_dendroNetwork, edge.arrow.size=.5, vertex.color="deepskyblue", vertex.shape="sphere", vertex.size=15,vertex.label.family="sans", vertex.label.color="darkslategrey", vertex.label.cex=0.8, vertex.label.dist=2)
6565
plot(g_dendroNetwork+g_dendro_packages, edge.arrow.size=.5, vertex.color="deepskyblue", vertex.size=15, vertex.label.family="sans", vertex.label.color="darkslategrey", vertex.label.cex=0.8, vertex.shape="sphere", vertex.label.dist=2)
6666
```
6767

6868
# Workflow using dendroNetwork
6969

70-
The typical workflow when using the package consists of a number of successive steps. The result of each step is input for the next step.
70+
The typical workflow when using the package consists of a number of successive steps (see Figure \@ref(fig:workflow)). The result of each step is input for the next step.
7171

72-
```{r, echo=FALSE, fig.width=4, fig.cap = "The typcial workflow when using dendroNetwork to visualise a network" }
72+
```{r, workflow, echo=FALSE, fig.width=4, fig.cap = "The typcial workflow when using dendroNetwork to visualise a network" }
7373
DiagrammeR::grViz("
7474
digraph {
7575
# graph attributes
@@ -125,9 +125,9 @@ g_hol_cpm <- clique_community_names(g_hol, k=3)
125125
hol_com_cpm_all <- find_all_cpm_com(g_hol)
126126
```
127127

128-
The next step is to visualize and explore the networks using Cytoscape or using R. Various functions are available to create visual styles for the communities in Cytoscape from R.
128+
The next step is to visualize and explore the networks using Cytoscape or using R (see Figure \@ref(fig:network-holrom)). Various functions are available to create visual styles for the communities in Cytoscape from R.
129129

130-
```{r, fig.cap = "Network of the dendrochronological site chronologies in hol_rom"}
130+
```{r, network-holrom, fig.cap = "Network of the dendrochronological site chronologies in hol_rom", echo=FALSE}
131131
plot(g_hol, vertex.color="deepskyblue", vertex.size=15, vertex.frame.color="gray",
132132
vertex.label.color="darkslategrey", vertex.label.cex=0.8, vertex.label.dist=2)
133133
```
@@ -139,9 +139,9 @@ The main advantage is that visualisation in Cytoscape is more easy, intuitive an
139139
3. To visualize the styles for CPM with only k=3: `cyto_create_cpm_style(g_hol, k=3, com_k = g_hol_cpm)`
140140
- This can be repeated for all possible clique sizes. To find the maximum clique size in a network, please use: `igraph::clique_num(g_hol)`.
141141
- To automate this: `for (i in 3:igraph::clique_num(g_hol)) { cyto_create_cpm_style(g_hol, k=i, com_k = g_hol_cpm)}`.
142-
4. To visualize the styles using the Girvan-Newman algorithm (GN): `cyto_create_gn_style(g_hol)` This would look something like this in Cytoscape:
142+
4. To visualize the styles using the Girvan-Newman algorithm (GN): `cyto_create_gn_style(g_hol)` This would look something like this in Cytoscape (see Figure \@ref(fig:cytoscape-network)).
143143

144-
```{r, echo=FALSE, fig.cap="The network of Roman sitechronologies with the Girvan-Newman communities visualized using Cytoscape.", out.width = "100%"}
144+
```{r, cytoscape-network, echo=FALSE, fig.cap="The network of Roman sitechronologies with the Girvan-Newman communities visualized using Cytoscape.", out.width = "75%"}
145145
knitr::include_graphics("g_hol_GN.png")
146146
```
147147

paper/paper.bib

+70
Original file line numberDiff line numberDiff line change
@@ -342,3 +342,73 @@ @article{malevich2018
342342
doi = {10.1016/j.dendro.2018.02.005},
343343
url = {http://www.sciencedirect.com/science/article/pii/S1125786517301418}
344344
}
345+
346+
@article{zang2015,
347+
title = {treeclim: an R package for the numerical calibration of proxy-climate relationships},
348+
author = {Zang, Christian and Biondi, Franco},
349+
year = {2015},
350+
date = {2015},
351+
journal = {Ecography},
352+
pages = {431--436},
353+
volume = {38},
354+
number = {4},
355+
doi = {10.1111/ecog.01335},
356+
url = {https://onlinelibrary.wiley.com/doi/abs/10.1111/ecog.01335},
357+
note = {{\_}eprint: https://onlinelibrary.wiley.com/doi/pdf/10.1111/ecog.01335},
358+
langid = {en}
359+
}
360+
361+
@article{peters2018,
362+
title = {RAPTOR: Row and position tracheid organizer in R},
363+
author = {Peters, Richard L. and Balanzategui, Daniel and Hurley, Alexander G. and von Arx, Georg and Prendin, Angela Luisa and Cuny, Henri E. and {Björklund}, Jesper and Frank, David C. and Fonti, Patrick},
364+
year = {2018},
365+
month = {02},
366+
date = {2018-02-01},
367+
journal = {Dendrochronologia},
368+
pages = {10--16},
369+
volume = {47},
370+
doi = {10.1016/j.dendro.2017.10.003},
371+
url = {https://www.sciencedirect.com/science/article/pii/S1125786517301236}
372+
}
373+
374+
@article{lara2018,
375+
title = {Multilevel analysis of dendroclimatic series with the R-package BIOdry},
376+
author = {Lara, Wilson and Bogino, Stella and Bravo, Felipe},
377+
year = {2018},
378+
month = {05},
379+
date = {2018-05-17},
380+
journal = {PLOS ONE},
381+
pages = {e0196923},
382+
volume = {13},
383+
number = {5},
384+
doi = {10.1371/journal.pone.0196923},
385+
url = {https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0196923},
386+
note = {Publisher: Public Library of Science},
387+
langid = {en}
388+
}
389+
390+
@article{campelo2016,
391+
title = {tracheideR{\textemdash}An R package to standardize tracheidograms},
392+
author = {Campelo, Filipe and Nabais, Cristina and Carvalho, Ana and Vieira, Joana},
393+
year = {2016},
394+
month = {03},
395+
date = {2016-03-01},
396+
journal = {Dendrochronologia},
397+
pages = {64--68},
398+
volume = {37},
399+
doi = {10.1016/j.dendro.2015.12.006},
400+
url = {https://www.sciencedirect.com/science/article/pii/S1125786515000934}
401+
}
402+
403+
@article{aryal2020,
404+
title = {{\textquotedblleft}dendRoAnalyst{\textquotedblright}: A tool for processing and analysing dendrometer data},
405+
author = {Aryal, Sugam and {Häusser}, Martin and {Grießinger}, Jussi and Fan, Zexin and {Bräuning}, Achim},
406+
year = {2020},
407+
month = {12},
408+
date = {2020-12-01},
409+
journal = {Dendrochronologia},
410+
pages = {125772},
411+
volume = {64},
412+
doi = {10.1016/j.dendro.2020.125772},
413+
url = {https://www.sciencedirect.com/science/article/pii/S1125786520301119}
414+
}

paper/paper.html

+33-20
Large diffs are not rendered by default.

paper/paper.pdf

15.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)