4.4 Article

Principles of resilient coding for plant ecophysiologists

Journal

AOB PLANTS
Volume 13, Issue 5, Pages -

Publisher

OXFORD UNIV PRESS
DOI: 10.1093/aobpla/plab059

Keywords

Curve fitting; gas exchange; hydraulics; modelling; photosynthesis; R; software; stomatal conductance

Funding

  1. National Science Foundation [1929167]
  2. Office of Integrative Activities
  3. Office Of The Director [1929167] Funding Source: National Science Foundation

Ask authors/readers for more resources

Plant ecophysiology is built on physical and chemical theory, but connecting theory with data in clear, rigorous, and reproducible ways is challenging. Custom scripts written in programming languages allow ecophysiologists to model plant processes and fit models to data using advanced statistical techniques. A unified set of coding principles and standards is needed to make coding easier for those without formal programming education.
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: (i) standardized nomenclature, (ii) consistency in style, (iii) increased modularity/extensibility for easier editing and understanding, (iv) code scalability for application to large data sets, (v) documented contingencies for code maintenance, (vi) documentation to facilitate user understanding; (vii) extensive tutorials and (viii) unit testing and benchmarking. 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.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.4
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available