Speaker Giving a Talk at Business Meeting.

Graphics with R

Course description

In this hands-on programming course, you will learn to build and customize high-quality data visualizations in R using the powerful ggplot2 package. The focus is on the practical application to write code that transforms your data into clear, informative, and publication-ready plots. Through practical exercises, you will master the syntax and techniques required to effectively communicate your research findings visually.

 

Target Audience

Scientists with foundational R skills who want to learn how to create professional and customized data visualizations in R. 

 

Topics

  • Foundations of ggplot2
    • Core principles of the "Grammar of Graphics".
    • Clean, self-contained plots for complex datasets.
  • Constructing Essential Plot Types
    • Common scientific graphics, including scatterplots, bar charts, and boxplots.
  • Customization of Graphics:
    • Customizations to improve interpretability.
    • Systematic adjustment of aesthetics, scales, labels, and colors.
  • Advanced Customization: 
    • Applying themes and legends for visual consistency.
    • Construction of multi-plot figures by aggregating multiple independent figures or splitting figures according to variables.

 

Methods

The course consists of lessons how to work with graphics in R and of hands-on examples with best-practice solutions.

 

Learning Goals

Upon completion of this course, you will be able to:

  1. Master the logic of the "grammar of graphics" (geometries, aesthetics, and scales).
  2. Take control of plot elements such as color schemes, axis labels, titles, and annotations.
  3. Apply consistent themes for a professional look and manage legends effectively.
  4. Apply advanced customization techniques to produce informative, publication-quality graphics.

 

Prerequisites

Basic programming skills in R (e.g., from the Introduction to R course or equivalent experience).

 

Format

  • Duration: either 1 full day or 2 half days
  • Language: English
  • This course will be offered either on campus (in person), or online
  • For online courses we use the software Zoom.

 

Dates and Application

  • Courses provided for Helmholtz Munich:
    • You can check the current dates and whether the courses are already fully booked here*.
    • Please read the corresponding FAQ* before applying via the forms of the HR Development department*.
  • Courses provided for HIDA:
    • You can check the current dates and whether the courses are already fully booked here.
    • Registrations for these courses are exclusively possible via the provided homepage.

 * Links marked with * are only available for Helmholtz Munich staff.