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: paper/paper.Rmd
+11-11
Original file line number
Diff line number
Diff line change
@@ -39,9 +39,9 @@ Dendrochronological analyses are often based on the comparison of tree-ring seri
39
39
40
40
# Statement of need
41
41
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)).
43
43
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}
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)).
61
61
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}
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.
71
71
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" }
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.
129
129
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}
@@ -139,9 +139,9 @@ The main advantage is that visualisation in Cytoscape is more easy, intuitive an
139
139
3. To visualize the styles for CPM with only k=3: `cyto_create_cpm_style(g_hol, k=3, com_k = g_hol_cpm)`
140
140
- 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)`.
141
141
- 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)).
143
143
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%"}
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},
0 commit comments