generated from jtr13/bookdown-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.Rmd
76 lines (52 loc) · 2.17 KB
/
index.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
---
title: "Introduction to R Shiny"
author: "Nitika K., Adele B., Paul F. H."
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
github-repo: nkandhari/R-shiny-MBP
description: "This is the course mateial for the workshop- `Introduction R Shiny` offered by [Monash Bioinformatics Platform](https://www.monash.edu/researchinfrastructure/bioinformatics)."
---
This workshop material is prepared by the [Monash Bioinformatics Platform](https://www.monash.edu/researchinfrastructure/bioinformatics) on the Shiny library developed by RStudio.
```{r}
library(bookdown)
```
# Prerequisites
Before the tutorial please install R and RStudio,
[Download R](https://cran.rstudio.com/)
[Download RStudio](https://www.rstudio.com/products/rstudio/download/)
Then install packages from CRAN and Bioconductor with the following R code:
```{r packages, eval=FALSE}
install.packages("tidyverse")
install.packages("shiny")
install.packages("DT")
install.packages("shinydashboard")
```
## Download files
```{r, eval = F}
download.file(
"https://github.com/nkandhari/R-ShinyIntro-MBP/raw/master/ShinyApps.zip",
destfile="ShinyApps.zip")
unzip("ShinyApps.zip")
```
Download these files. tutorial.R contains all the code in the “tutorial” link below. During the tutorial, we will be stepping through tutorial.R in RStudio.
## Overview
* Introduction to Shiny
* Structure of a Shiny app
* Reactivity
* Create Shiny App from scratch
* Next steps
## Source code {-}
This book was created in R using the `rmarkdown` and `bookdown` packages!
* [GitHub page](https://github.com/MonashDataFluency/R-ShinyIntro)
## Authors and copyright {-}
This course is developed for the Monash Bioinformatics Platform by Nitika Kandhari, Adele Barugahare and Paul Harrison.
```{r echo=F}
knitr::include_graphics("figs/CC-BY.png")
```
This work is licensed under a [CC BY-4: Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/). The attribution is "Monash Bioinformatics Platform" if copying or modifying these notes.
```{r include=FALSE}
# automatically create a bib database for R packages
knitr::write_bib(c(
.packages(), 'bookdown', 'knitr', 'rmarkdown'
), 'packages.bib')
```