-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
152 lines (113 loc) · 6.31 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
---
output: rmarkdown::github_document
always_allow_html: true
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "",
fig.path = "inst/extdata/"
)
```
## `toolStability`: Tool for Stability Indices Calculation <img src="https://raw.githubusercontent.com/Illustratien/toolStability/master/inst/extdata/toolStability.png" align="right" alt="logo" width="200" height = "200" style = "padding: 10px; border: none; float: right;">
```{r,echo = FALSE, message = FALSE}
suppressWarnings(devtools::load_all("."))
wholetext <- packageDescription("toolStability", fields = "Description")
Section<- strsplit(wholetext,"This R")
text1 <- Section[[1]][1]
text2 <- unlist(strsplit(paste0("This R",Section[[1]][2]),"\n"))
```
###### License: [GPL-3](https://www.r-project.org/Licenses/)
<!-- Version : [`r getNamespaceVersion("toolStability")`](https://illustratien.github.io/toolStability/articles/toolStability.html#version-history); -->
##### *Wang, T-C. and Chen, T-W.*
<!-- badges: start -->
[![citation](https://img.shields.io/badge/Publication-Wang_et_al_2023-20639b)](https://link.springer.com/article/10.1007/s00122-023-04264-7)
[![Website - pkgdown](https://img.shields.io/badge/website-githubpage-green)](https://Illustratien.github.io/toolStability/)
[![DOI](https://zenodo.org/badge/203346020.svg)](https://zenodo.org/badge/latestdoi/203346020)
[![minimal R version](https://img.shields.io/badge/R>%3D-3.5.0-6666ff.svg?logo=R)](https://cran.r-project.org/)
<!-- [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) -->
<!-- [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version-last-release/toolStability)](https://cran.r-project.org/package=toolStability) -->
<!-- # ```{r, results='asis', echo=FALSE} -->
<!-- # dver <- ifelse(test = gsub("(.\\.)(\\d+)(\\..)", "", getNamespaceVersion("toolStability")) != "", -->
<!-- # yes = getNamespaceVersion("toolStability"), -->
<!-- # no = gsub("Version:\\s*", "", readLines(paste0("https://raw.githubusercontent.com/", "Illustratien/toolStability", "/master/DESCRIPTION"))[grep("Version:", readLines(paste0("https://raw.githubusercontent.com/", "Illustratien/toolStability", "/master/DESCRIPTION")))])) -->
<!-- # -->
<!-- # # cat(paste("[![develVersion](https://img.shields.io/badge/devel%20version-", dver, "-orange.svg)](https://github.com/Illustratien/toolStability)", sep = "")) -->
<!-- # ``` -->
[![Github Code Size](https://img.shields.io/github/languages/code-size/Illustratien/toolStability.svg)](https://github.com/Illustratien/toolStability)
[![Codecov test coverage](https://codecov.io/gh/Illustratien/toolStability/branch/master/graph/badge.svg)](https://app.codecov.io/gh/Illustratien/toolStability?branch=master)
[![R-CMD-check](https://github.com/Illustratien/toolStability/workflows/R-CMD-check/badge.svg)](https://github.com/Illustratien/toolStability/actions)
<!-- [![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](https://github.com/Illustratien/toolStability/commits/master) -->
<!-- [![.](https://raw.githubusercontent.com/vitr/google-analytics-beacon/master/static/badge-flat.gif)](https://github.com/Illustratien/google-analytics-beacon) -->
<!-- [![rstudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/toolStability?color=green)](https://CRAN.R-project.org/package=toolStability) -->
<!-- badges: end -->
## Description
<!-- `r packageDescription("toolStability", fields = "Description")` -->
<!-- `r gsub("\\n", " ", packageDescription("toolStability", fields = "Description"))` -->
`r text1` `r "There are 11 stability indices in this package."`
`r text2[1]`
`r text2[2]`
`r text2[3]`
`r text2[4]`
`r text2[5]`
`r text2[6]`
<!-- `r text2[7]``r " (see tutorial for detailed information)"` -->
<!-- `r text2[8]` -->
<!-- `r text2[9]` -->
<!-- `r text2[10]` -->
<!-- `r text2[11]` -->
<!-- `r text2[12]` -->
<!-- `r text2[13]` -->
<!-- `r text2[14]` `r " https://www.jstor.org/stable/2531698"` -->
<!-- `r text2[15]` -->
<!-- `r text2[16]` `r " https://www.nature.com/articles/hdy197287"` -->
<!-- `r text2[17]` -->
<!-- `r text2[18]` -->
## Installation
The package can be installed from CRAN as follows:
```{r, eval=FALSE}
install.packages('toolStability', dependencies=TRUE)
```
The development version can be installed from github as follows:
```{r, eval=FALSE}
if (!require('devtools')) install.packages('devtools')
devtools::install_github("Illustratien/toolStability")
# or
if (!require('remotes')) install.packages('remotes')
remotes::install_github("Illustratien/toolStability")
```
## Tutorial
There are 11 stability indices in this package. A detailed tutorial with examples and references:
[click here](https://illustratien.github.io/toolStability/articles/toolStability.html).
## What's new
To know whats new in this version type:
```{r, eval=FALSE}
news(package='toolStability')
```
## Links
[Main publication](https://link.springer.com/article/10.1007/s00122-023-04264-7)
[Main publication analysis pipeline](https://github.com/Illustratien/Wang_2023_TAAG/tree/V1.0.0)
[Dataset documentation](https://doi.org/10.5281/zenodo.4729636)
[CRAN page](https://cran.r-project.org/package=toolStability)
[Package documentation](https://doi.org/10.5281/zenodo.5804212)
## Citing `toolStability`
To cite the methods in the package please use:
```{r, eval = FALSE}
Wang, TC., Casadebaig, P. & Chen, TW. More than 1000 genotypes are required to derive robust relationships between yield, yield stability and physiological parameters: a computational study on wheat crop. Theor Appl Genet 136, 34 (2023). https://doi.org/10.1007/s00122-023-04264-7
```
<!-- # ```{r, echo = FALSE} -->
<!-- # detach("package:toolStability", unload=TRUE) -->
<!-- # suppressPackageStartupMessages(library(toolStability)) -->
<!-- # cit <- citation("toolStability") -->
<!-- # yr <- format(Sys.Date(), "%Y") -->
<!-- # cit[1]$year <- yr -->
<!-- # oc <- class(cit) -->
<!-- # -->
<!-- # cit <- unclass(cit) -->
<!-- # attr(cit[[1]],"textVersion") <- gsub("\\(\\)", -->
<!-- # paste("\\(", yr, "\\)", sep = ""), -->
<!-- # attr(cit[[1]],"textVersion")) -->
<!-- # class(cit) <- oc -->
<!-- # cit -->
<!-- ``` -->