Cargando…

Principles of resilient coding for plant ecophysiologists

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...

Descripción completa

Detalles Bibliográficos
Autores principales: Stinziano, Jospeh R, Roback, Cassaundra, Sargent, Demi, Murphy, Bridget K, Hudson, Patrick J, Muir, Christopher D
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Oxford University Press 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8501907/
https://www.ncbi.nlm.nih.gov/pubmed/34646435
http://dx.doi.org/10.1093/aobpla/plab059
_version_ 1784580769787674624
author Stinziano, Jospeh R
Roback, Cassaundra
Sargent, Demi
Murphy, Bridget K
Hudson, Patrick J
Muir, Christopher D
author_facet Stinziano, Jospeh R
Roback, Cassaundra
Sargent, Demi
Murphy, Bridget K
Hudson, Patrick J
Muir, Christopher D
author_sort Stinziano, Jospeh R
collection PubMed
description 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.
format Online
Article
Text
id pubmed-8501907
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Oxford University Press
record_format MEDLINE/PubMed
spelling pubmed-85019072021-10-12 Principles of resilient coding for plant ecophysiologists Stinziano, Jospeh R Roback, Cassaundra Sargent, Demi Murphy, Bridget K Hudson, Patrick J Muir, Christopher D AoB Plants Tools 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. Oxford University Press 2021-09-19 /pmc/articles/PMC8501907/ /pubmed/34646435 http://dx.doi.org/10.1093/aobpla/plab059 Text en © The Author(s) 2021. Published by Oxford University Press on behalf of the Annals of Botany Company. https://creativecommons.org/licenses/by/4.0/This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Tools
Stinziano, Jospeh R
Roback, Cassaundra
Sargent, Demi
Murphy, Bridget K
Hudson, Patrick J
Muir, Christopher D
Principles of resilient coding for plant ecophysiologists
title Principles of resilient coding for plant ecophysiologists
title_full Principles of resilient coding for plant ecophysiologists
title_fullStr Principles of resilient coding for plant ecophysiologists
title_full_unstemmed Principles of resilient coding for plant ecophysiologists
title_short Principles of resilient coding for plant ecophysiologists
title_sort principles of resilient coding for plant ecophysiologists
topic Tools
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8501907/
https://www.ncbi.nlm.nih.gov/pubmed/34646435
http://dx.doi.org/10.1093/aobpla/plab059
work_keys_str_mv AT stinzianojospehr principlesofresilientcodingforplantecophysiologists
AT robackcassaundra principlesofresilientcodingforplantecophysiologists
AT sargentdemi principlesofresilientcodingforplantecophysiologists
AT murphybridgetk principlesofresilientcodingforplantecophysiologists
AT hudsonpatrickj principlesofresilientcodingforplantecophysiologists
AT muirchristopherd principlesofresilientcodingforplantecophysiologists