Skip to content

Commit 24b4286

Browse files
committed
Corrections and updates
1 parent d7fffd9 commit 24b4286

16 files changed

Lines changed: 14 additions & 8 deletions

R/clique_community_names_par.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#' @references
1818
#' Palla, G., Derényi, I., Farkas, I., & Vicsek, T. (2005). Uncovering the overlapping community structure of complex networks in nature and society. Nature, 435(7043), 814-818.
1919
#'
20-
#' Code adapted from source: # uit: https://github.com/angelosalatino/CliquePercolationMethod-R/blob/master/clique.community.opt.par.R
20+
#' Code adapted from source: https://github.com/angelosalatino/CliquePercolationMethod-R/blob/master/clique.community.opt.par.R
2121
#'
2222
#' @author Angelo Salatino
2323
#' @author Ronald Visser

R/cor_mat_overlap.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#'
1111
#' @returns a list with two matrices: one with the correlation values and one with the number of overlapping tree rings for each correlation value. The matrices have row names and column names of the compared tree-ring curves
1212
#' @examples
13+
#' rwl_object1 <- hol_rom
14+
#' rwl_object2 <- hol_rom
1315
#' cor_mat_overlap(rwl_object1, rwl_object2, 50)
1416
#' cor_mat_overlap(rwl_object1, rwl_object1, 50)
1517
#'

R/wuchswerte.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
#' @param x tree-ring series
88
#' @returns tree-ring series normalized according to Hollstein (1980, 14-15)
99
#' @examples
10-
#' wuchswerte(trs)
10+
#' data(hol_rom)
11+
#' wuchswerte(hol_rom)
1112
#' # to convert a rwl object into wuchwerte use:
1213
#' dplR::as.rwl(apply(anos1, 2, wuchswerte))
1314
#' @export wuchswerte

README.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The package aims to make the creation of dendrochronological (provenance) networ
2929

3030
The first steps are visualized in the flowchart below, including community detection using either (or both) the Girvan-Newman algorithm [@girvan2002] and Clique Percolation Method [@palla2005] for all clique sizes.
3131

32-
```{r flowchart of workflow, echo=FALSE, fig.width=15}
32+
```{r flowchart_workflow, echo=FALSE, fig.width=15}
3333
DiagrammeR::grViz("
3434
digraph {
3535
# graph attributes
@@ -55,7 +55,7 @@ digraph {
5555
")
5656
```
5757

58-
```{r building a network with Hollstein (1980 data)}
58+
```{r network_hollstein_1980}
5959
library(dendroNetwork)
6060
data(hol_rom) # 1
6161
sim_table_hol <- sim_table(hol_rom) # 2

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ community detection using either (or both) the Girvan-Newman algorithm
4040
(Girvan and Newman 2002) and Clique Percolation Method (Palla et al.
4141
2005) for all clique sizes.
4242

43-
![](README_files/figure-gfm/flowchart%20of%20workflow-1.png)<!-- -->
43+
![](README_files/figure-gfm/flowchart_workflow-1.png)<!-- -->
4444

4545
``` r
4646
library(dendroNetwork)
@@ -53,14 +53,14 @@ hol_com_cpm_all <- find_all_cpm_com(g_hol) # 5
5353
plot(g_hol) # plotting the graph in R
5454
```
5555

56-
![](README_files/figure-gfm/building%20a%20network%20with%20Hollstein%20(1980%20data)-1.png)<!-- -->
56+
![](README_files/figure-gfm/network_hollstein_1980-1.png)<!-- -->
5757

5858
``` r
5959
plot(g_hol, vertex.color="deepskyblue", vertex.size=15, vertex.frame.color="gray",
6060
vertex.label.color="darkslategrey", vertex.label.cex=0.8, vertex.label.dist=2) # better readable version
6161
```
6262

63-
![](README_files/figure-gfm/building%20a%20network%20with%20Hollstein%20(1980%20data)-2.png)<!-- -->
63+
![](README_files/figure-gfm/network_hollstein_1980-2.png)<!-- -->
6464

6565
### Visualization in Cytoscape
6666

Binary file not shown.
Binary file not shown.
-26.8 KB
Binary file not shown.
-34.3 KB
Binary file not shown.
6.79 KB
Loading

0 commit comments

Comments
 (0)