skip to navigation skip to content
Instructor-led course

Provided by: Bioinformatics


This course has 1 scheduled run. To book a place, please choose your preferred date:


Mon 2 Oct 2017


[ Show past events ]

Events available

R object-oriented programming and package development
Prerequisites


Description

The course will teach intermediate R object-oriented programming and how to build a fully functional R package.

The course page includes slides and handouts; other relevant teaching materials are available here and the sequences example package used as template in the course can be found here.

Please note that if you are not eligible for a University of Cambridge Raven account you will need to book or register your interest by linking here.

Target audience
  • Graduate students, Postdocs and Staff members from the University of Cambridge, Affiliated Institutions and other external Institutions or individuals
  • Please be aware that these courses are only free for University of Cambridge students. All other participants will be charged a registration fee in some form. Registration fees and further details regarding the charging policy are available here.
  • Further details regarding eligibility criteria are available here
Prerequisites
  • A good knowledge of R and some active programming experience is required.
  • Only attending Introduction to R would not provide sufficient background for this course.
  • Familiarity with object-oriented programming would be an advantage, but is not essential.
Topics covered

Bioinformatics, Software engineering

Objectives

After this course you should be able to:

  • use object-oriented programming in R and build your own packages
Aims

During this course you will learn about:

  • 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
  • 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
Format

Presentation and demonstrations

Registration fees
  • Free for University of Cambridge students
  • £ 50/day for all University of Cambridge staff, including postdocs, and participants from Affiliated Institutions. Please note that these charges are recovered by us at the Institutional level
  • It remains the participant's responsibility to acquire prior approval from the relevant group leader, line manager or budget holder to attend the course. It is requested that people booking only do so with the agreement of the relevant party as costs will be charged back to your Lab Head or Group Supervisor.
  • £ 50/day for all other academic participants from external Institutions and charitable organizations. These charges must be paid at registration
  • £ 100/day for all Industry participants. These charges must be paid at registration
  • Further details regarding the charging policy are available here
Duration

1 day

Frequency

A number of times per year

Related courses
Theme
Specialized Training

Events available