Introductory Workshop to Basic Shiny Concepts
This was a two hour workshop given for OHSU BioData Club on 2021-01-28 and Cascadia-R 2021-06-04 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 out the basic Shiny concepts.
Intermediate R users and students. Students should be familiar with {ggplot2}
, {dplyr}
, and how functions work.
server
and ui
communicate with the input
and output
objectsggplot2
code to our app and display it with plotOutput
and renderOutput
ggplot
{plotly}
to add tooltips to our dataTo use this project, you will need to sign up for an https://rstudio.cloud free account. Make sure to save a permanent copy to your own workspace!
https://rstudio.cloud/project/2125039
Keep in mind that any references to aes_string()
in the video have been fixed in the notebooks.
Open slides in a separate window: https://laderast.github.io/gradual_shiny/slides/#10
https://youtu.be/6XBb5J6U05Y?t=2956
Open up gradual_shiny/01_app_basics/01_app_basics.Rmd
in RStudio Project
Open slides in a separate window: https://laderast.github.io/gradual_shiny/slides/#27
Open up gradual_shiny/02_reactives/02_reactives.Rmd
in RStudio Project
{plotly}
; Wrapping upOpen slides in a separate window: https://laderast.github.io/gradual_shiny/slides/#36
Open up gradual_shiny/03_tooltips_plotly/03_tooltips_plotly.Rmd
in RStudio Project.
If you’ve taken the workshop, please take our survey and give us feedback: https://ohsu.ca1.qualtrics.com/jfe/form/SV_afaOiEAnNpWZIoK
If you want to use the workshop materials, please drop us a line at [tedladeras] [at] [gmail]. We’d love to hear from you.