An introduction to R with applications to biology


This course will introduce you to data analysis with the R language. It is directed to researchers and graduate students with no knowledge or a starting knowledge of R. Course attendants will learn how to: 1) install and run R in your computer (Linux, Mac or PC), working with different text editors (Emacs and RStudio); 2) install different packages related to your own work; 3) work with objects and data frames; 4) write scripts with R; 5) import data from other programs (i.e XL); 6) work with dates; 7) perform basic statistical analysis and modeling with R; and 8) plot basic graphs with R.

Programme information: 

  • Monday (4 hours theory + 2 hours practical) Introduction to R. Installing R. Emacs or RStudio. The editor, the console and the graphical environment on R. Simple plots in R. The help in R. Online resources. R objects. Working with vectors. Some examples. Data frames. Some examples. Import files from other programs (XL,…)
  • Tuesday (4 hours theory + 2 hours practical). Functions in R. Introduction to statistics in R. Mean, standard deviation, standard error, some basic statistics tests in R. Data transformation.
  • Wednesday (4 hours theory + 2 hours practical) Linear regression models in R. Quartile regression. Multiple regression models. Paired T-tests. ANOVA, ANCOVA.
  • Thursday. (4 hours theory + 2 hours practical) Hands-on data I, working with your own data. Hands on data II, plotting your own data. (Note: We will provide you with data if you don't have your own)
  • Friday (4 hours theory + 2 hours practical). Bioconductor and other tools in R for molecular biology..

Past course editions: 

2015 - Spring January
2015 - Fall September
2016 - Spring February

Number of hours: 



English. The course could be taught also in Catalan or Spanish if all attendants agree.

Course dates: 

Monday, March 13, 2017 to Friday, March 17, 2017


9:00-12:30 h 14:00-17:30 h


Institut de Ciències del Mar

Maximum number of places: 


Lab or field work description: 

If you have own databases to work with, please bring them to the course. You will be using them in the practical sessions.

Special requirements: 

No special background is needed, but it would be preferable to have a minimum statistical knowledge (i.e. an introductory course during your BSc.)

Laptop or notebook computer: Linux, Mac and PC are all welcomed.

Contact for further information: 

For additional information, please check our Contact section or get in contact directly with the Lecturer of this course.


Full price of this course is 450€. A reduced registration fee of 360€ is applied for early registrations (20 days before the opening of the course).
Price: 450.00€

Cancelation policies

Cancellations by attendants

To cancel a place that you have booked for a Barcelona Ocean course, a notice of cancellation must be sent via email to The following policies apply:
• If you cancel at least 3 months before the start of the course you will receive a full refund.
• If you cancel between 3 months and 1 month prior to the start of the course you will receive a full refund minus a 10% administration fee.
• If you cancel between 1 month and 10 working days prior to the start of the course you will receive a 50% refund.
• If you cancel less than 10 working days before the event you will not be entitled to a refund.
There will be no refund for non-attendance to the course.

Cancellations by Barcelona Ocean

Barcelona Ocean courses are constantly updated and, while we endeavour to deliver the courses as advertised, there may inevitably be occasions when we will have to change some of the course contents or one or more of the lecturers without prior notice or, in very exceptional circumstances, to cancel an event.
In the case of a complete course cancellation, attendants will either be offered an alternative date, a credit note or a full refund. Barcelona Ocean will not compensate for travel fees or any other expense incurred by you as a result of such cancellation. Every effort will be made to avoid the cancellation of any planned courses.

Subscribe to this course

If you are interested in this course but can not attend on the given dates, you might subscribe to this course by filling in the next form and we will contact you when a new edition is held:

In compliance with Law 15/1999 of 13 December on the Protection of Personal Data, Barcelona Ocean reports the following considerations: personal information we request is included in a file whose purpose is solely to inform about Barcelona Ocean's activities. Fields marked with an asterisk are mandatory, with the expressed purpose impossible unless providing such data. You are further advised of the possibility of exercising rights of access, rectification, cancellation and opposition of your personal data at

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Enter the characters shown in the image.

Connect with us

We're on Social Networks. Follow us & get in touch.

Contact us

For any inquiries, please contact us by phone or email at: