Course – 1st Edition


November 4th-8th, 2019, Barcelona (Spain)

Statistics and Bioinformatics

Statistics and Bioinformatics


Please, SUBSCRIBE to our Newsletter if you want to receive information on new editions.

Course Overview

Data Manipulation, Analysis, and Visualization in R using the Tidyverse

This intermediate course exposes students to the breadth of resources available in the R tidyverse to build their fluency and confidence when working in R.  The tidyverse is a collection of libraries and functions in R sharing an underlying design (philosophy, grammar, and data structures) that aims to help users create efficient, “tidy” code.  Many of the libraries address the common data wrangling tasks (read, select, filter, gather, spread, modify, recode, summarize) that are the precursors to both data analysis and visualization.  Other libraries address specific tasks (e.g., ggplot2 to create graphs; purr to create functions; broom to tabulate model results) or specific data types (e.g., sf for spatial data, tibbletime for temporal data).

A mix of lectures and exercises will walk students through a series of increasingly complex data manipulation and visualization tasks.  These exercises will emphasize the underlying principles and grammar of the tidyverse to help students transfer what they learn in the examples to their own research coding projects.

  • Import tabular, spatial, and temporal data (readr, readxl, haven, sf, tibbletime)
  • Manage data structure (dplyr, tidyr, magrittr, forcats, lubridate, stringr)
  • Introduction to functional programming (purr)
  • Visualize data and model results (broom, ggplot2)


Previous completion of an Introduction to R course and/or some experience using R is required.

Students must bring their own laptops with current versions of R (v3.4.3) and R Studio (v1.1.423) installed.  We also recommend students pre-install the following packages: ggplot2, tidyr, dplyr, lubridate, scales, forcats, and sf.



Institut Català de Paleontologia Miquel Crusafont (ICP)

C/ de l’Escola Industrial, 23
08201 Sabadell, Barcelona (Spain)

How to get there


November 4th-8th, 2019




35 hours on-site.

This course is equivalent to 2 ECTS (European Credit Transfer System) at the Life Science Zurich Graduate School.

The recognition of ECTS by other institutions depends on each university or school.


Places are limited to 20 participants and will be occupied by strict registration order.

Participants who have completed the course will receive a certificate at the end of it.

Ashton Drew instructor for Transmitting Science

Dr. Ashton Drew
KDV Decision Analysis LLC
United States of America

Sheila Shaia instructor for Transmitting Science

Dr. Sheila Saia
United States Forest Service Center for Integrated Forest Science
United States of America

Soledad De Esteban-Trivigno Transmitting Science coordinator

Dr. Soledad De Esteban-Trivigno

Transmitting Science

Judit Marigo coordinator at Transmitting Science

Dr. Judit Marigó
Muséum national d’Histoire naturelle / Institut Català de Paleontologia Miquel Crusafont
France / Spain


Monday. R Review and Introduction to Tidyverse.

  • Quick review of R and R Studio.
  • Introduction to the Tidyverse philosophy and functions:
    • positives and negatives
    • core and peripheral Tidyverse functions
  • Tidyverse options to import data (readr, readxl, haven, and others).

Tuesday. Data Visualization with ggplot2.

  • Elements of a plot per the “Grammar of Graphics”:
    • Aesthetic mapping, geometries, coordinates
    • Groups and facets
    • Scales and guides
  • Aesthetic mapping as a driver of data manipulation.

Wednesday and Thursday. Data Wrangling in the Tidyverse.

  • Restructure tabular data (tidyr).
  • Row-wise and column-wise data manipulation (dplyr).
  • Managing specific data classes (stringr, forcats, lubridate).
  • Generate tabular summaries of model objects (broom).
  • Introduction to spatial data in the tidyverse (sf).
  • Introduction to time series in the tidyverse (tibbletime).

Friday. Functional Programming with purr.

  • An introduction to functional programming concepts.
  • Practice creating and applying functions (purr).
  • Strategies to functionalize code and manage functions.


  • Course Fee
  • Early bird (until October 31st, 2019):
  • 594 € *
    (475.20 € for Ambassador Institutions)
  • Regular (after October 31st, 2019):
  • 732 € *
    (585.60 € for Ambassador Institutions)
  • This includes course material, coffee breaks and lunches (VAT included).
    * Participants from companies/industry will have an extra charge of 100 €.

You can check the list of Ambassador Institutions. If you want your institution to become a Transmitting Science Ambassador please contact us at


  • Monday to Friday:
    • 9:30 to 13:30 Lessons.
    • 13:30 to 15:00 Lunch (included).
    • 15:00 to 18:00 Lessons.

The class schedule is approximate; it is possible that the content of one day may run into the next and a working day may be longer than advertised.


The course will take place in the city of Sabadell, Barcelona (Spain). Take a look at the venue.

You may stay in Barcelona city or Sabadell. You will find information about Hotels and Hostel in Sabadell here. It takes about 45 minutes by public transport to arrive to Sabadell from the centre of Barcelona city. The place of the course is about 15 minutes walking from the train stop.


Discounts are not cumulative and apply only on the Course Fee. We offer the possibility of paying in two instalments (contact

Former participants will have a 5 % discount on the Course Fee.

20 % discount on the Course Fee is offered for members of some organizations (Ambassador Institutions). If you want to apply to this discount please indicate it in the Registration form (proof will be asked later).

Unemployed scientists living in the country were the course will be held, as well as PhD students based in that country without any grant or scholarship to develop their PhD, could benefit from a 40 % discount on the Course Fee. If you want to ask for this discount, please contact the course coordinator. That would apply for a maximum of 2 places and they will be covered by strict inscription order.

  • Header of Statistics at Transmitting Science

Advanced Courses on Life Sciences