Skip to content

Commit

Permalink
version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vaulot committed Nov 28, 2022
1 parent 14e5b3e commit 96e3369
Show file tree
Hide file tree
Showing 30 changed files with 61 additions and 55 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: metapr2
Title: Eukaryotic 18S rRNA metabarcode database
Version: 1.0.4
Version: 2.0.0
Authors@R:
person(given = "Daniel",
family = "Vaulot",
Expand Down
5 changes: 3 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# metapr2 1.0.4
# metapr2 2.0.0

Released: 2022-11-23

### Database

#### version 2.0 - 59 datasets
#### 59 datasets

18 new datasets

Expand Down
7 changes: 4 additions & 3 deletions R/app.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,10 @@ server <- function(input, output, session) {
id = "auth",
check_credentials = shinymanager::check_credentials(credentials))

observeEvent(input$button_disconnect, {
session$close()
})
# Disconnection

observeEvent(input$button_disconnect, {session$close() } )

# Validate the sample selection
# See: https://rstudio.github.io/shinyvalidate/articles/shinyvalidate.html

Expand Down
3 changes: 3 additions & 0 deletions R/module_datasets.R
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ dataServer <- function(id, taxo, authentification, asv_clustered) {
if (authentification$user == "ge") {
dir_asv_set <- "data-qs-ge"
}
if (authentification$user == "ge2") {
dir_asv_set <- "data-qs-ge2"
}

if(asv_clustered) {
file_asv_set <- "asv_set_cluster.qs"
Expand Down
1 change: 1 addition & 0 deletions R/module_display_info.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ display_info_server <- function(id, authentification, asv_clustered) {
if(length(authentification$user) == 0) return("2.0") # Defaut case
if(authentification$user == "v1") return( "1.0")
if(authentification$user == "ge") return( "1.0 + Green edge")
if(authentification$user == "ge2") return( "2.0 + Green edge")
if(authentification$user == "private") return( "2.0 + private")
return("2.0")
})
Expand Down
8 changes: 4 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ knitr::opts_chunk$set(

<!-- badges: start -->
[![DOI](https://zenodo.org/badge/410160328.svg)](https://zenodo.org/badge/latestdoi/410160328)
![Release](https://img.shields.io/badge/release-1.0.4-blue.svg)
![Release](https://img.shields.io/badge/release-2.0.0-blue.svg)
![Date](https://img.shields.io/badge/date-23%20Nov%202022-lightgrey.svg)

<!-- badges: end -->

## A database of 18S rRNA metabarcodes

**Database version**: 2.0 - 59 datasets
**Version**: 2.0.0 - 59 datasets

**Shiny application version**: 1.0.4
**Release date**: 2022-11-23

### Presentation

Expand Down Expand Up @@ -69,7 +69,7 @@ devtools::install_github("pr2database/metapr2-shiny")
Note: You may have to install some packages required by metapr2 if they are not installed on your machine

##### Alternatively install from [R-universe](https://pr2database.r-universe.dev/ui#packages)
No need in this case to install package `devetools`
No need in this case to install package `devtools`

```{r, eval=FALSE, echo=TRUE}
# Enable repository from pr2database
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
<!-- badges: start -->

[![DOI](https://zenodo.org/badge/410160328.svg)](https://zenodo.org/badge/latestdoi/410160328)
![Release](https://img.shields.io/badge/release-1.0.4-blue.svg)
![Release](https://img.shields.io/badge/release-2.0.0-blue.svg)
![Date](https://img.shields.io/badge/date-23%20Nov%202022-lightgrey.svg)

<!-- badges: end -->

## A database of 18S rRNA metabarcodes

**Database version**: 2.0 - 59 datasets
**Version**: 2.0.0 - 59 datasets

**Shiny application version**: 1.0.4
**Release date**: 2022-11-23

### Presentation

Expand Down Expand Up @@ -55,7 +55,7 @@ are not installed on your machine

##### Alternatively install from [R-universe](https://pr2database.r-universe.dev/ui#packages)

No need in this case to install package `devetools`
No need in this case to install package `devtools`

``` r
# Enable repository from pr2database
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/metapr2.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-barplots.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-data-processing.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-datasets.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-diversity.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-download.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-maps.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-query.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-select.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-taxonomy.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/vignette-treemaps.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ articles:
vignette-select: vignette-select.html
vignette-taxonomy: vignette-taxonomy.html
vignette-treemaps: vignette-treemaps.html
last_built: 2022-11-23T09:12Z
last_built: 2022-11-28T06:59Z

Loading

0 comments on commit 96e3369

Please sign in to comment.