This web site is the home of software written Pedro J. Aphalo, using the R programming language. It provides news and documentation for the packages and occasional posts on R-related subjects.
The 11 R packages in the r4photobiology suite implement calculations related to handling of spectral data as used in photobiology. The main purpose of this software is to make it easier for biologists to quantify and describe the visible and ultraviolet radiation conditions used in experiments or monitored in nature, in a standardized and consistent way. In accordance with the ideas of “reproducible and open science” all the code is open-source and all algorithms and data used, unless original, are linked to the original sources.
Another three packages extend ‘ggplot2’ supporting insets and model-fit-based annotations and the manipulation and exploration of ggplot objects.
A package to accompany the book Learn R: As a Language contains data sets and scripts used in the book.
Scope and organization
The site is divided into a blog containing short posts with news (revised only in case they contain errors) and pages with content of longer term usefulness (updated as needed).
In the blog I publish news related to the use of R in the analysis and acquisition of data in the field of photobiology as well as in relation to data analysis and plotting in general. Most frequently, blog posts describe updates to R packages. I take a very broad view of photobiology, so anything useful to a photobiologist is within scope. This includes analysis of data that is in the realm of radiation meteorology and climatology, and even geophysics. Contributions from anybody are warmly welcome, but acceptance is at the discretion of the editor.
The site also contains pages with tips on using R for reproducible research and other bits of information related to data analysis and programming with R, and occasional blog posts with informal reviews of R packages that I use.
The code for the packages
I have written the code using consistent naming conventions and a consistent formatting style. The packages are documented and include usage examples for all functions. Documentation follows standard R documentation practices, and includes vignettes such as user guides. The packages are compatible with Windows (x86/x64), Linux (x86/x64), and OS X. As most packages have been published through the CRAN repository they are regularly checked under multiple OSs. I am implementing checks based on GitHub actions for “continuous integration”.
The packages have been designed trying to make code maintenance as simple and as reliable as possible. Furthermore, a central aim of the design has been to allow the easy implementation by users of additional ways of quantifying radiation, who will hopefully contribute them back to this project so that this family of packages with time caters for all aspects of photobiology. The current source code and all earlier versions are available from git repositories at https://github.com/aphalo/
Citing posts and pages
The following citation is for the whole site:
Aphalo, Pedro J., editor (2013-2021) Using R for Photobiology, https://www.r4photobiology.info. ISSN 2343-3248, Helsinki.
The author and date of first posting are displayed for each post under the title, so an example citation could be:
Aphalo, Pedro J. (2018) R 3.5.0 and spaces in file paths. https://www.r4photobiology.info/news/ggpmisc-adds-new-stats-to-ggplot2/ ISSN 2343-3248, Helsinki. Visited on 2018-05-25.
Publisher and place of publication
Publisher and editor: Pedro J. Aphalo
Place of publication: Helsinki, Finland.