Skip to content
Snippets Groups Projects
Commit d07f8fa9 authored by jens.preussner's avatar jens.preussner :ghost:
Browse files

Updated ci reqs; Updated vignette

parent 2f856f90
No related branches found
No related tags found
1 merge request!8Vignette: i2dash introduction
Pipeline #120817 failed
r-assertive.sets
r-base
bioconductor-biocstyle
r-htmltools
r-flexdashboard
r-knitr
r-magrittr
r-yaml
zip
\ No newline at end of file
......@@ -51,7 +51,7 @@ The R package i2dash provides classes and functionality to programatically creat
## Installation
The package can be installed with the `r CRANpkg("remotes")` library:
The package can be installed with the `r BiocStyle::BiocStyle::CRANpkg("remotes")` library:
```{r, eval=FALSE}
remotes::install_git(url = "https://gitlab.gwdg.de/loosolab/software/i2dash.git", repos = BiocManager::repositories())
......@@ -142,7 +142,7 @@ We can remove a page using the `remove_page()` function. The `page` argument con
```{r, eval = FALSE}
dashboard %<>%
i2dash::remove_page(page = "page2")
remove_page(page = "page2")
```
## Adding content
......@@ -218,7 +218,7 @@ Lets assume we have an experimental factor called year:
year <- factor(c(2014, 2014, 2015, 2017, 2019, 2019), levels = c(2014:2021))
```
To assign each level a color from the [sequential greens](http://colorbrewer2.org/#type=sequential&scheme=BuGn&n=9) palette from the `r CRANpkg("RColorBrewer")` package, we create a character vector with the colors and assign the levels as names.
To assign each level a color from the [sequential greens](http://colorbrewer2.org/#type=sequential&scheme=BuGn&n=9) palette from the `r BiocStyle::CRANpkg("RColorBrewer")` package, we create a character vector with the colors and assign the levels as names.
```{r, eval = FALSE}
colors <- RColorBrewer::brewer.pal(8, "BuGn")
......@@ -239,11 +239,10 @@ At any point in time, and particular when data analysis is finished, the `assemb
```{r, eval = FALSE}
dashboard %>%
i2dash::assemble(
pages = c("page1", "page3", "page4"))
assemble(pages = c("page1", "page3", "page4"))
```
The resulting R Markdown file can be run with `r CRANpkg("Shiny")` or rendered with `r CRANpkg("rmarkdown")`.
The resulting R Markdown file can be run with `r BiocStyle::CRANpkg("Shiny")` or rendered with `r BiocStyle::CRANpkg("rmarkdown")`.
# Session Info {.unnumbered}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment