Skip to main content

Study information

Coding for Biomedical Scientists

Module titleCoding for Biomedical Scientists
Module codeCSC2030
Academic year2026/7
Credits15
Module staff

Dr Federico Palmisani (Convenor)

Duration: Term123
Duration: Weeks

12

Number students taking module (anticipated)

80

Module description

In this practical module, we will introduce you to Matlab, a programme commonly used among the biomedical scientists and neuroscientists who are invested in research for carrying out analyses of complex data sets. Once you have grasped basic Matlab skills, you will learn how to apply these to specific analytical problems in science.

We assume NO prior knowledge in computer coding: we will be teaching ‘from the ground up’. Matlab will be provided and is available to download free-of-charge. This module is not suitable for students who have already taken other university modules in computer coding.  Admission from non-Clinical and Biomedical Sciences-degree programmes is at the discretion of the module lead. This module is part of the Proficiency in Data Science.

Module aims - intentions of the module

Analysing large dataset is increasingly common within research in biomedical sciences and neuroscience and to do so, programming skills are essential. For example, modern recording techniques allow scientists to record the activity of hundreds of cells (e.g. neurons) at once, and the only way to fully understand and integrate these complex dataset is to write ad-hoc code to extract relevant information.

The overall aim of this module is to develop some of the fundamental skills required to analyse and model complex data sets using a straightforward programming language.  You will learn basic practical coding skills in a package commonly used in Medical Sciences: Matlab. 

To introduce some areas of research where computer coding-based analysis is required, we will focus on specific case studies in areas such as data analysis and research methods, electrophysiology, image analysis and processing. Assessment will take the form of an in class exam and a scientific report with a code appendix.

Graduate attributes: as part of this module, you will develop the key employability skills of computer programming, data analysis, teamwork, project management, and preparing and scientific communication.

The module aligns with sustainable development goals (SDGs) SDG 3 (Good Health and Wellbeing) ensuring knowledge into physiology and healthy lives along with SDG 5 (Gender Equality) and SDG 10 (Reduced Inequalities).

Intended Learning Outcomes (ILOs)

ILO: Module-specific skills

On successfully completing the module you will be able to...

  • 1. Develop skills to write appropriate algorithms for the analysis of scientific data.
  • 2. Write efficient Matlab code for performing simple file management tasks.
  • 3. Write efficient Matlab code for the preliminary analysis of complex data sets.
  • 4. Justify and implement in Matlab some of the approaches used to analyse electrophysiological data.
  • 5. Demonstrate an understanding and implementation of key digital signal processing techniques as applied to electrophysiological data and/or cardiac AP.
  • 6. Learn to write code to quantify and manipulate features of biomedical imaging data
  • 7. Demonstrate an awareness of, and an ability to implement, publicly available Matlab toolboxes generated by the wider scientific community.
  • 8. Learn how to analyse data using Matlab, and how to draw scientific conclusions based on the data analysis
  • 9. Describe statistical test used in research and learn how to perform statistical test in Matlab

ILO: Discipline-specific skills

On successfully completing the module you will be able to...

  • 10. Select and implement appropriate analytical processes for a given biomedical data set.
  • 11. Accurately present data in a graphical format.

ILO: Personal and key skills

On successfully completing the module you will be able to...

  • 12. Evaluate analytical problems and design algorithm-based solutions.
  • 13. Effectively use ‘help’ functions, internet resources, manuals and books to solve problems.
  • 14. Write clear data-driven reports on analysed data, including annotated code.

Syllabus plan

Whilst the module’s precise content may vary from year to year, an example of an overall structure is as follows:  

We will begin the module with an introduction to fundamental coding skills using Matlab. Later in the module we will introduce some biomedical data analysis and modelling problems which can be addressed using these programming skills. Each of these areas are explored to introduce different analytical and coding skills. 

  1. Introduction to coding in general and Matlab  topics may include: Variable types; arrays and matrices; arithmetic in Matlab; indexing; built-in functions; plotting data; algorithms and pseudo-code; scripts and functions; annotating code with comments 
  2. Data analysis in Matlab  topics may include: statistical methods, structs and tables in Matlab, variables correlation, t-test and ANOVA 
  3. Electrophysiology (brain and heart) topics may include: sampling theory, measuring peaks; batch processing; filtering. 
  4. Image analysis   topics may include: images as matrices; sampling theory; identifying regions of interest; measuring; averaging and filtering; images over time – movie. 
  5. Cardiac action potential

Accessibility statement:

As part of this module, you will undertake sessions in the computing laboratory (of up to 80 students) that are typically 2 hrs in duration. Breaks are possible and students are welcome to leave the laboratory for short periods. In the event of unavoidable absence, it is possible to complete the computer practical tasks remotely.

Learning activities and teaching methods (given in hours of study time)

Scheduled Learning and Teaching ActivitiesGuided independent studyPlacement / study abroad
431070

Details of learning activities and teaching methods

CategoryHours of study timeDescription
Scheduled Learning and Teaching5Lectures – introductions and wraps 5x1 h
Scheduled Learning and Teaching30Computer labs 15x2h
Scheduled Learning and Teaching8Small groups activities
Guided Independent Study4Background information video 4 x 1 h
Guided Independent Study13Computer lab preparation and consolidation for the assessment
Guided Independent Study60Coding projects, including report writing throughout the module
Guided Independent Study15Revision
Guided Independent Study15Wider reading

Formative assessment

Form of assessmentSize of the assessment (eg length / duration)ILOs assessedFeedback method
Data analysis coursework 11000-word equivalent1-3,8-9,10-14Annotated code and verbal feedback

Summative assessment (% of credit)

CourseworkWritten examsPractical exams
60040

Details of summative assessment

Form of assessment% of creditSize of the assessment (eg length / duration)ILOs assessedFeedback method
Data analysis coursework 2601000 word equivalent + code1-7,8-9,10-14Written
Practical ‘coding exam’402 hours 1-13

Details of re-assessment (where required by referral or deferral)

Original form of assessmentForm of re-assessmentILOs re-assessedTimescale for re-assessment
Data analysis coursework 2601000 word equivalent + code1-7,8-9,10-14
Practical ‘coding exam’402 hours + 15 minutes upload1-13

Re-assessment notes

If a student is referred in Coursework 2, they will be required to undertake a new equivalent assessment in the Ref/Def period. 

Deferral – if you miss an assessment for certificated reasons that are approved by the Mitigation Committee, you will normally be either deferred in the assessment or an extension may be granted. If deferred, the format and timing of the re-assessment for each of the summative assessments is detailed in the table above ('Details of re-assessment'). The mark given for a deferred assessment will not be capped and will be treated as it would be if it were your first attempt at the assessment.

Referral - if you have failed the module (i.e. a final overall module mark of less than 40%) and the module cannot be condoned, you will be required to complete a re-assessment for each of the failed components on the module. The format and timing of the re-assessment for each of the summative assessments is detailed in the table above ('Details of re-assessment'). If you pass the module following re-assessment, your module mark will be capped at 40%.

Indicative learning resources - Basic reading

  • Matlab:?a practical introduction to programming?and?problem solving?(2013) 3rd Ed. Stormy Attaway ISBN: 9780124058767 (available as an e-book from library) 
  • MATLAB for neuroscientists : an introduction to scientific computing in MATLAB (2014) 2nd Ed. Wallisch et al. ISBN: 9780123838360 (available as an e-book from library) 
  • Fundamentals of Digital Image Processing: a practical approach with examples in Matlab (2011). Chris Solomon, Toby Brecon. (available as e-Book)

Indicative learning resources - Web based and electronic resources

Module ELE page containing formative quizzes and access to on-line learning resources

Indicative learning resources - Other resources

Key words search

Neuroscience; data analysis; electrophysiology; imaging; computer programming; Matlab; biomedical sciences

Credit value15
Module ECTS

7.5

Module pre-requisites

None

Module co-requisites

None

NQF level (module)

5

Available as distance learning?

No

Origin date

13/05/2024

Last revision date

04/02/2025