Skip to content

Commit c5fc95e

Browse files
committed
Release of v3.1.0
1 parent 686e9c5 commit c5fc95e

File tree

9 files changed

+30
-11
lines changed

9 files changed

+30
-11
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
^cran-comments\.md$
44
^revdep$
55
^\.travis\.yml$
6+
^doc$
7+
^Meta$

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
.Ruserdata
55
*.Rproj
66
/revdep/.cache.rds
7+
doc
8+
Meta

DESCRIPTION

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: SteinerNet
22
Type: Package
3-
Version: 3.0.1
4-
Date: 2018-08-18
3+
Version: 3.1.0
4+
Date: 2020-08-21
55
Title: Steiner Tree Approach for Graph Analysis
66
Description: A set of functions for finding and analysing Steiner trees. It has applications in
77
biological pathway network analysis. Sadeghi (2013) <doi:10.1186/1471-2105-14-144>.
@@ -15,11 +15,13 @@ Imports: grDevices,
1515
stats,
1616
utils,
1717
graphics
18-
Suggests: knitr,
19-
rmarkdown
18+
Suggests:
19+
knitr,
20+
rmarkdown,
21+
testthat
2022
VignetteBuilder: knitr
2123
License: GPL-3
2224
Repository: CRAN
2325
NeedsCompilation: no
2426
Encoding: UTF-8
25-
RoxygenNote: 6.1.0
27+
RoxygenNote: 7.1.1

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# News
22

3+
### v3.1.0
4+
5+
* Added support of R 4.0.0 and higher. Improved the code taking into account that since version 4.0.0 matrix objects also inherit from class "array".
6+
37
### v3.0.1
48

59
* If vertices of input graph of `steinertree` function has a `name` attribute, vertices of the output graph won't have `realname` attribute. The original names will be still at `name` attribute.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ The installation process may differ to different versions of package. See inform
1515

1616
### Versions > 3.0.0
1717

18+
To get the latest version of the package and install it from CRAN run the following command:
19+
1820
install.packages("SteinerNet")
1921

2022
### Version 2.0

cran-comments.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
## Test environments
22

3-
* local Linux Ubuntu 18.04 LTS install, R 3.5.0
4-
* win-builder (devel and release)
3+
* local macOS 10.14.6, R 4.0.2
4+
* travis-ci ubuntu 16.04.6 LTS (devel and release)
5+
* win-builder (devel, release, oldrelease)
56

67
## R CMD check results
78

8-
0 ERRORs | 0 WARNINGs | 0 NOTES
9+
0 errors | 0 warnings | 1 note
10+
11+
* checking for non-standard things in the check directory ... NOTE
12+
Found the following files/directories:
13+
‘plot1.pdf’
14+
15+
This is temporary file which is created after running an example.
916

1017
## Downstream dependencies
1118

inst/steinernet-manual.pdf

-5.1 KB
Binary file not shown.

vignettes/tutorial.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ steinertree(type = "SPM", terminals = terminal_nodes[[1]],
142142

143143
## Optimization of resultant tree
144144

145-
Optimization means returning the minimum spanning tree on resultant graph and removing all non-terminal nodes of degree one. **Note, that in version 2.0 this function was runned by default for several algorithms.** Again it is explicitly available in version 3.0 for the sake of convenience.
145+
Optimization means returning the minimum spanning tree on resultant graph and removing all non-terminal nodes of degree one. **Note, that in version 2.0 this function was run by default for several algorithms.** Again it is explicitly available in version 3.0 for the sake of convenience.
146146

147147
If you want to reproduce results of the article, you need to specify `optimize = TRUE` for the following algorithms:
148148

@@ -151,7 +151,7 @@ If you want to reproduce results of the article, you need to specify `optimize =
151151
* "RSP"
152152
* "SPM"
153153

154-
For "EXA" algorithm this option is ignored. **Note, that in version 2.0 for "ASP" algorithm optimization was not avaliable at all.** It means, that experiments was condacted without further optimization.
154+
For "EXA" algorithm this option is ignored. **Note, that in version 2.0 for "ASP" algorithm optimization was not avaliable at all.** It means, that experiments was conducted without further optimization.
155155

156156
## Article results reproducibility
157157

@@ -172,7 +172,7 @@ repetition <- rep(x = 0.5, 50)
172172

173173
However, simultaneous work with the number of terminals selected and size of sets makes an output of some function too wired. So now you need to specify:
174174

175-
* `ter_number`. Each element indicates the number of terminals to be selected and length of vector indecates the number of terminal sets to be picked.
175+
* `ter_number`. Each element indicates the number of terminals to be selected and length of vector indicates the number of terminal sets to be picked.
176176
* `prob`. prob[i] defines a propability with which each next node accepted or rejected while selecting ter_number[i] terminals. Usually this probability is the same for all terminals, so you may write something like this `prob = rep(0.5, #len of ter_number#)`
177177

178178
The main difference is that you can now operate with **only one value** of number of terminal sets. So to reproduce results of the article, firstly, you need, for example, generate 50 terminal sets with 5 terminals in each.

vignettes/tutorial.pdf

6.92 KB
Binary file not shown.

0 commit comments

Comments
 (0)