GithubHelp home page GithubHelp logo

2021-qbiosworkshop's Introduction

2021 QBios Workshop - Building interactive dashboards

Aroon T. ChandeLavanya Rishishwar

Getting started

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.

Setting up your environment

Installing the R dependencies

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)

Linking ShinyApps

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')

Example code

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.

2021-qbiosworkshop's People

Contributors

ar0ch avatar jeremy-d-harris avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.