Aroon T. Chande
Lavanya Rishishwar
To get started, clone this repository in the command line or download
the ZIP file and open the GaTech-QBiosWorkshop-20210518.Rproj
file
with RStudio
# clone the repo
git clone [email protected]:appliedbinf/2021-QBiosWorkshop.git
cd 2021-QBiosWorkshop
We will also be using RStudio Connect and the ShinyApps.io platform. Please make a free account before the session. You will need your token to link RStudio with the ShinyApps.io platform.
There are a number of R packages that we will need today to build our dashboards. Please run the below code in your Rstudio console window.
packages <- c("shiny", "deSolve")
install.packages(packages)
To link your ShinyApps.io profile with RStudio, visit your tokens page and run the provided code snippet (example below) in your RStudio console.
rsconnect::setAccountInfo(name = 'appliedbinf',
token = 'alongtokenstringhere',
secret = 'supersecretsecretstringhere')
We’ve provided a series of Shiny code samples in the examples
folder:
examples/
├── 00_HelloWorld.R
├── 01_HelloSliders.R
├── 02_HelloPlots.R
├── 03_HelloInteractions.R
├── 04_MoreInteractions.R
├── 05_OrganizingUI.R
├── 06_HelloNavbar.R
├── 07_NavBarApp.R
└── 08_SIRModel.R
As the file numbers increase, so does the complexity of the application.
00_HelloWorld.R
is the simplest Shiny application and prints a
simple “Hello World!” example. 08_SIRModel.R
is a full fledged
SIRD application, but not much has been done to make it pretty or user
friendly.