Skip to main navigation Skip to search Skip to main content

Improving reproducibility of data analysis and code in medical research: 5 recommendations to get started

  • Anna Maria Streiber
  • , Sanne J W Hoepel
  • , Elisabet Blok
  • , Frank J A van Rooij
  • , Julia Neitzel
  • , Jeremy Labrecque
  • , M Kamram Ikram
  • , Daniel Bos*
  • *Corresponding author for this work

Research output: Contribution to journalReview articlepeer-review

Abstract

Due to the growing use of high-dimensional data and methodological advances in medical research, reproducibility of research is increasingly dependent on the availability of reproducible code. However, code is rarely made available and too often only partly reproducible. Here, we aim to provide practical and easily implementable recommendations for medical researchers to improve the reproducibility of their code. We reviewed current coding practices in the population-based Rotterdam Study cohort. Based on this review, we formulated the following five recommendations to improve the reproducibility of code used in data analysis: (1) make reproducibility a priority and allocate time and resources; (2) implement systematic code review by peers, as it further strengthens reproducibility. We provide a code review checklist, which serves as a practical tool to facilitate structured code review; (3) write comprehensible code that is well-structured; (4) report decisions transparently, for instance by providing the annotated workflow code for data cleaning, formatting and sample selection; and (5) focus on accessibility of code and data and share both, when possible, via an open repository to foster accessibility. Ideally, this repository should be managed by the institution and should be accessible to everyone. Based on these five recommendations, medical researchers can take actionable steps to improve the reproducibility of their research. Importantly, these recommendations are thought to provide a practical starting point for enhancing reproducibility rather than mandatory guidelines.

Original languageEnglish
Article numbere104691
JournalBMJ Open
Volume15
Issue number10
DOIs
Publication statusPublished - 2 Oct 2025
Externally publishedYes

Keywords

  • Biomedical Research/standards
  • Data Analysis
  • Humans
  • Reproducibility of Results
  • Research Design/standards

Fingerprint

Dive into the research topics of 'Improving reproducibility of data analysis and code in medical research: 5 recommendations to get started'. Together they form a unique fingerprint.

Cite this