• Header of Statistics at Transmitting Science

Advanced Courses on Life Sciences

Course – 3rd Edition

Introduction to R

March 9th-13th, 2020, Barcelona (Spain)

Statistics and Bioinformatics

Statistics and Bioinformatics


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

Course Overview

The aim of this course is to give an introduction to R addressed to people that have never used R. By the end of the course, the participants should be able to do the following in R:

  • Import / export data-bases.
  • Manage data sets.
  • Carry out basic statistic analyses with R.
  • Draw high quality graphs.
  • Program specific functions.

Guided practice with R – Students are encouraged to bring a dataset with them along with a “previously completed” statistical analysis or graphic. Ideally something fairly introductory and simple from the student’s own field of practice that you’ve worked with in Excel, SAS, or elsewhere. We will use the last lesson session to review all the steps to ensure students can load, check, tidy data and then perform the basic statistics or generate the graphs common in their respective disciplines. This time also usually provides an opportunity to troubleshoot and learn to navigate web resources to find solutions to errors. Extra datasets will be available for students that prefer not to bring their own work or who want extra practice at specific skills.


All participants must bring their own personal laptop (Windows, Macintosh) with current versions of R and R Studio pre-installed. If you have any problem installing them, please contact the course coordinator.




Institut Català de Paleontologia Miquel Crusafont (ICP)

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

How to get there


March 9th-13th, 2020




32 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

Soledad De Esteban-Trivigno Transmitting Science coordinator

Dr. Soledad De Esteban-Trivigno

Transmitting Science

Ana Rosa Gomez-Cano coordinator at Transmitting Science

Dr. Ana Rosa Gómez Cano
Transmitting Science



  • Orientation to R and R Studio.
  • Introduction to R programming language.
    • Basic data objects: Values, vectors, data frames, lists.
    • Programming syntax.
    • Packages and libraries.
    • Working directory and environments.
    • Comments, indents, and other good practice.
  • Loading data into R.
    • Reading xlsx, txt, and csv files.
    • Quick summary commands to check data quality.
    • Quick plot commands to check data quality.
  • Reproducible Research Methods in R.
    • Orientation to R Markdown.
  • Exercise: Load and tidy some data within R Markdown.


  • Restructuring data.
    • Adding, deleting, renaming variables.
    • Changing long to short format (and vice versa).
    • Joining data frames.
    • Subsetting data.
  • Conditional programming.
    • Logical operators.
    • If else statements.
    • For loops.
  • Exercise: Load and tidy a species and a habitat dataset, join to create a single species-habitat dataframe, then split into four tables by taxa.


  • Plotting with ggplot2.
    • Brief intro to base and lattice as plotting alternatives.
    • Overview of common specialize plotting packages.
    • Overview of ggplot2 graphic concepts and syntax.
  • Creating and customizing plots.
    • Adjusting labels, colors, and shapes.
    • Using groups and handling legends.
    • Integrate data from multiple sources.
  • Handling data from spatial data objects.
    • Load and view a raster data file.
    • Load and view a vector data file.
    • Summarize and manipulate the data frame component of spatial data object.
    • Export updated spatial data frame.
  • Exercise: Load a spatial polygon dataset, explore data and generate summary graphs of data, modify dataframe within spatial data object.


  • Exploratory data analysis with R.
    • Regression packages and simple procedures.
    • Clustering packages and simple procedures.
    • Probability distributions.
  • Writing custom functions.
  • Exercise Option 1A: Load and tidy a dataset, perform an unsupervised and supervised clustering.
  • Exercise Option 1B: Load and tidy a dataset, perform linear regression and ANOVA.
  • Exercise 2: Change your code from exercise 1 into a custom function.


  • How to build your R skills.
    • Using R help, Google, and other online resources.


  • Course Fee
  • Early bird (until December 31st, 2019):
  • 492 € *
    (393.60 € for Ambassador Institutions)
  • Regular (after December 31st, 2019):
  • 620 € *
    (476 € 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 communication@transmittingscience.com


  • 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 courses@transmittingscience.com).

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.