Shiny: Publication Quality Graphs with plotly

 

This series is intended to assist students and researchers (with some experience in R) migrate their important work and results from the desktop (R and RStudio) to the web.
Shiny is a package that helps you develop web pages in an R environment. Using Shiny lets people, with no knowledge of R, interact with your data, models and results on a web page. In this new series, hosted by the Innovation Co-Lab and Research Computing, learn how to interactively tell your research story and migrate your important work and results in R and RStudio to the Web. Each workshop is designed as hands-on with example based learning, followed by open discussion with our in-house Shiny expert, Tom Balmat. Participants are encouraged to bring problems, data, and models from current research.
In this workshop, we will make interactive, publication quality graphs with plotly. We will take a ggplot app and make it even more dynamic by adding hover labels, clickable geoms to enable filtering, and highlighting and modifying a graph as a user probes visible features and relationships in the data.

Don't know R? Check out these classes through the library before signing up for Shiny: https://library.duke.edu/data/workshops

This class will be hosted via Zoom. You will receive an email with the Zoom link a day before the class. Attendance will be taken and the session will be recorded.

 

View Enrollment Sessions
  • Big Data

About Course

Outline

  • Overview
  • Examples, resources, and use cases
  • Review setup and anatomy of a Shiny app
  • Exercises
  • Helpful tips and debugging along the way

Objectives

  • Understand the primary function of Shiny – to transform a static R script into a dynamic web application
  • Develop skills necessary to create and deploy a professional R and Shiny web application to make data and research results available to the public
  • Incorporate Shiny into the explore, research, and publish cycle

Tools

Students should have a Rstudio environment setup before attending. You can setup a free account at https://rstudio.cloud or use the Duke container reservation system: https://vm-manage.oit.duke.edu/containers

Files

Prerequisites

Students should have some experience with R. If you are unfamiliar with R, we recommend attending R workshops with Duke University libraries: https://library.duke.edu/data/workshops Additionally, for those new to Shiny, please take Shiny: Intro to Shiny first.

Examples

shiny-plotly shiny-plotly shiny-plotly

Enroll

Interested in taking this class? Enroll in one of the sessions below!

4/14/2021

1:00 PM - 4:00 PM

Location: Online

24 seats left!

Enroll

This class is part of our Research Computing Track

See the whole track

Suggested Courses

Course Graphic

Shiny Server

Learn how to implement the Shiny Server to take your work in the shiny framework to a production environment. This course requires knowledge of the R programming language.

Learn More
Course Graphic

Shiny: visNetwork

visNetwork is an R package for network visualization, using vis.js javascript library (http://visjs.org/).

Learn More