Introduction to ggplot2 with R
Topic outline
-
Introduction to ggplot2 with R
Overview
This is a hands-on workshop that covers how to use ggplot2 for common visualizations using the R programming language. It is not an introductory R programming workshop. See prerequisities below.
Objectives
In this workshop you will see how to use ggplot2 for:
- describing single variables and plotting simple relationships (e.g. scatterplots)
- visualizing more complex relationships and model results (e.g. heatmaps)
- creating and exporting publication-quality graphs
Prerequisites
Basic R programming skills, such as how to install packages, load data into R, read help files, and use basic functions. Please also have the software installed prior to the workshop (see below).
Software
- Install R
- Install RStudio (free desktop version)
Instructor
Karla Lindquist, PhD, is the Scientific Lead for the UCSF Library's Data Science Initiative.
Materials
All materials here are subject to periodic updates by the Instructor. Content on this website reflects the material taught during the most recently offered live workshop.
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License
Upcoming Sessions
Please check the library calendar to see when this course will be offered next. You can also sign up for the Library Data Science Newsletter to get notified when new courses are added to the schedule.
Also check out the workshops offered under Statistics and Bioinformatics, and by the Gladstone Institute.