bioRxivPlant BiologyPreprint
Principles of resilient coding for plant ecophysiologists
J. R. Stinziano, C. Roback, D. Gamble, B. K. Murphy, P. J. Hudson, C. D. Muir
Abstract
Plant ecophysiology is founded on a rich body of physical and chemical theory, but it is challenging to connect theory with data in unambiguous, analytically rigorous, and reproducible ways. Custom scripts written in computer programming languages (coding) enable plant ecophysiologists to model plant processes and fit models to data reproducibly using advanced statistical techniques. Since many ecophysiologists lack formal programming education, we have yet to adopt a unified set of coding principles and standards that could make coding easier to learn, use, and modify. We identify eight principles to help in plant ecophysiologists without much programming experience to write resilient code: 1) standardized nomenclature, 2) consistency in style, 3) increased modularity/extensibility for easier editing and understanding, 4) code scalability for application to large datasets, 5) documented contingencies for code maintenance, 6) documentation to facilitate user understanding; 7) extensive tutorials, and 8) unit testing. We illustrate these principles using a new R package, {photosynthesis}, which provides a set of analytical and simulation tools for plant ecophysiology. Our goal with these principles is to advance scientific discovery in plant ecophysiology by making it easier to use code for simulation and data analysis, reproduce results, and rapidly incorporate new biological understanding and analytical tools.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Elevating the status of code in ecology
K. A. S. Mislan, Jeffrey M. Heer, Ethan P. White·bioRxiv·Sep 28, 2015
- A Library of Electrophysiological Responses in Plants - A Model of Transversal Education and Open Science
D. Madariaga, D. Arro, … T. Marzullo·bioRxiv·Sep 29, 2023
- Still Lost in Definitions: How Resilience Is Used in Ecology
Hung-wei Lin, Sruthi M. Krishna Moorthy, … Roberto Salguero‐Gómez·bioRxiv·Jun 7, 2026
- Multi-lab EcoFAB study shows highly reproducible physiology and depletion of soil metabolites by a model grass
J. Sasse, J. Kant, … T. R. Northen·bioRxiv·Oct 5, 2018
- Ensuring Robustness in Scientific Research, Split-root assays as an example case
Lucila Salvatore, Ronald Pierik, … Kirsten ten Tusscher·Quantitative Plant BiologyPeer-reviewed·Jan 1, 2025
- : A tool for modelling ecosystem resilience
Adam Klimeš, Joseph Daniel Chipperfield, … Alistair W. R. Seddon·EcographyPeer-reviewed·Nov 14, 2025