Back

Future-proofing code: Principles of coding for plant ecophysiology with {photosynthesis} as a case study

Stinziano, J. R.; Roback, C.; Gamble, D.; Murphy, B. K.; Hudson, P. J.; Muir, C. D.

2020-09-12 plant biology
10.1101/2020.09.11.293530 bioRxiv
Show 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.

Matching journals

The top 5 journals account for 50% of the predicted probability mass.

1
in silico Plants
27 papers in training set
Top 0.1%
15.2%
2
Applications in Plant Sciences
23 papers in training set
Top 0.1%
12.9%
3
Plant Physiology
238 papers in training set
Top 0.7%
9.6%
4
Methods in Ecology and Evolution
176 papers in training set
Top 0.4%
6.2%
5
PeerJ
308 papers in training set
Top 0.6%
6.2%
50% of probability mass above
6
Quantitative Plant Biology
15 papers in training set
Top 0.1%
5.5%
7
Plant Direct
95 papers in training set
Top 0.7%
4.3%
8
AoB PLANTS
13 papers in training set
Top 0.1%
4.3%
9
Plant, Cell & Environment
78 papers in training set
Top 0.6%
4.3%
10
The Plant Phenome Journal
14 papers in training set
Top 0.1%
3.2%
11
Photosynthesis Research
15 papers in training set
Top 0.1%
3.1%
12
G3 Genes|Genomes|Genetics
351 papers in training set
Top 2%
2.8%
13
Journal of Experimental Botany
219 papers in training set
Top 2%
2.4%
14
Frontiers in Plant Science
256 papers in training set
Top 3%
2.1%
15
New Phytologist
346 papers in training set
Top 3%
1.9%
16
The Plant Journal
215 papers in training set
Top 3%
1.3%
17
eLife
5828 papers in training set
Top 58%
1.1%
18
Bioinformatics
1204 papers in training set
Top 8%
1.1%
19
G3: Genes, Genomes, Genetics
252 papers in training set
Top 4%
0.9%
20
Plant Communications
36 papers in training set
Top 0.9%
0.9%
21
Tree Physiology
24 papers in training set
Top 0.4%
0.8%
22
PLOS ONE
5266 papers in training set
Top 65%
0.6%
23
Ecology and Evolution
267 papers in training set
Top 6%
0.6%