Description
This was a two hour workshop given for OHSU BioData Club on 2021-01-28 introducing the basic concepts of Shiny. It runs about two hours long.
There are videos for each part, along with slides. We use an RStudio.cloud project to try the basic Shiny concepts.
Audience
Intermediate R users and students. Students should be familiar with {ggplot2}
, {dplyr}
, and how functions work.
Learning Objectives
- Learn the basic architecture of Shiny Apps
- Learn how
server
andui
communicate with theinput
andoutput
objects - Add
ggplot2
code to our app and display it withplotOutput
andrenderOutput
- Add a control to control the aesthetics of our
ggplot
- Make a reactive dataset using reactive expressions and control it with a slider
- Use
{plotly}
to add tooltips to our data - Learn about the Shiny Widget Gallery and how to use it to add controls to your app
Video
Links
Citation
BibTeX citation:
@online{laderas2021,
author = {Laderas, Ted and Laderas, Ted and Minnier, Jessica and
Pozhidayeva, Dar’ya and Lo, Pierrette},
title = {A {gRadual} {intRoduction} to {Shiny}},
date = {2021-01-28},
url = {https://laderast.github.io/edu/2021-03-20-a-gradual-introduction-to-shiny/},
langid = {en}
}
For attribution, please cite this work as:
Laderas, Ted, Ted Laderas, Jessica Minnier, Dar’ya Pozhidayeva, and
Pierrette Lo. 2021. “A gRadual intRoduction to Shiny.”
January 28, 2021. https://laderast.github.io/edu/2021-03-20-a-gradual-introduction-to-shiny/.