The mediachemtools package is a collection of tools to simplify working with the chemical composition and speciation of defined culture media for microbial physiology and environmental microbiology research. It includes a wide range of general purpose functionality for chemical applications including built-in, data-frame-compatible chemical quantities (volume, mass, molarity, temperature, pressure, etc.) that automatically keep track of their units and metric scaling, as well as more specialized tools for the assembly and comparison of culturing media recipes, pH buffering strategies and aqueous speciation. All basic data types and operations are fully implemented, documented and ready to use. However, since the package is still in active development and some syntax and function names may change.
You can install mediachemtools from github with the devtools package.
# install.packages("devtools") devtools::install_github("KopfLab/MediaChemTools")
- function reference for details on all functions
- quantities vignette on built-in chemical quantities
- operations vignette on working with quantities
- carbonate chemistry vignettes for working with carbonate buffered media systems:
Explore all functionality and vignettes of the mediachemtools package interactively on binder: