skip to navigation skip to content
Instructor-led course

Provided by: Graduate School of Life Sciences

This course is not scheduled to run.

[ Show past events ]

Register interest
Register your interest - if you would be interested in additional dates being scheduled.

Events available

Bioinformatics: R object-oriented programming and package development


The course will present intermediate to advanced R programming using the object-oriented programming paradigm. It will cover how to document code and data to produce a fully functional R package. Further information is available here.

The Course Web Site providing links to the course materials is here.

Please note that if you are not eligible for a University of Cambridge Raven account you will need to Book register Interest by linking here.

Target audience
  • Only attending Bioinformatics: Introduction to R would not provide sufficient background for this course
  • A substantial period of active programming experience in R will be assumed
  • Familiarity with object-oriented programming and Latex would be an advantage, but not essential
Topics covered
  • Introduction: what is object-oriented programming; description of the working example; R programming best practices: tips and tricks, environments, coding standards
  • R object-oriented programming: the S3 and S4 OO systems
  • Documentation: documenting functions, methods and data, providing executable examples; documentation using Roxygen; executing R code inside Latex document (Vignettes)
  • Writing R packages: minimum package structure; combining the written classes/generics/methods and documentation to create a package; building, checking and installing packages
  • Other advanced R programming topics: testing code, unit testing; profiling and debugging; calling C code inside R
  • To help users advance their R programming skills to be able to begin writing object-oriented code and/or developing R packages

Presentation and demonstrations




A number of times per year

SBS Practical Bioinformatics Training: Programming

Events available