Growthcurver: an R package for obtaining interpretable metrics from microbial growth curves
- 3.2k Downloads
Plate readers can measure the growth curves of many microbial strains in a high-throughput fashion. The hundreds of absorbance readings collected simultaneously for hundreds of samples create technical hurdles for data analysis.
Growthcurver summarizes the growth characteristics of microbial growth curve experiments conducted in a plate reader. The data are fitted to a standard form of the logistic equation, and the parameters have clear interpretations on population-level characteristics, like doubling time, carrying capacity, and growth rate.
Growthcurver is an easy-to-use R package available for installation from the Comprehensive R Archive Network (CRAN). The source code is available under the GNU General Public License and can be obtained from Github (Sprouffske K, Growthcurver sourcecode, 2016).
KeywordsGrowth curve Logistic Experimental evolution
area under the curve
comprehensive R archive network
By tracking bacterial growth over time, important population-level information can be assessed, including doubling time and carrying capacity. Typical experiments entail measuring bacterial cell density at a series of time intervals, and then fitting these observations to an exponential growth model. Such measures can be made in parallel in a plate reader, and may result in hundreds or thousands of absorbance measurements over the course of 24 h. The resulting growth curves are commonly used in a variety of microbiological experiments [1, 2, 3], including experimental evolution [4, 5, 6, 7]. A variety of methods have been used to obtain metrics from such growth curves [1, 3, 4, 8, 9, 10, 11, 12, 13]. Older methods relied on manually plotting the cell count or absorbance readings over time on semi-log graph paper to obtain metrics like the maximum growth rate , an approach which has been computationally mirrored recently by GrowthRates . Other recent methods fit the growth data to a variety of parametric growth models , but have a strong focus on generating dose response curves.
Here, we fit growth curve data to the standard form of the logistic equation common in ecology and evolution [14, 15] whose parameters (the growth rate, the initial population size, and the carrying capacity) provide meaningful population-level information with straight-forward biological interpretation. We implemented this as the R package Growthcurver, available for download at Comprehensive R Archive Network (CRAN), and provide a simple data analysis work-flow in the vignette.
We developed an open-source R package, Growthcurver, to obtain a variety of easily-interpretable metrics to summarize microbial growth curve data. Growthcurver is available from CRAN and the source code is available under the GNU General Public License.
Carrying capacity and growth rate
Here, the population size at the beginning of the growth curve is given by N 0. The maximum possible population size in a particular environment, or the carrying capacity, is given by K. The intrinsic growth rate of the population, r, is the growth rate that would occur if there were no restrictions imposed on total population size. Growthcurver finds the best values of K, r, and N 0 for the growth curve data using the implementation of the non-linear least-squares Levenberg-Marquardt algorithm  available in the minpack.lm R package . The carrying capacity and growth rate values (K and r) are particularly useful for summarizing and comparing the growth dynamics of strains.
Area under the curve
Growthcurver computes the area under the logistic curve, which provides a metric (the logistic AUC) that integrates information from the logistic parameters (k, r, and N 0). We implemented this feature by evaluating the definite integral of the fitted logistic equation from time 0 to a user-defined time t. Growthcurver also computes an empirical AUC by summing the areas of the trapezoids made up by connecting consecutive data points of cell counts (or absorbance measurements) from time 0 to time t, similar to what was done by .
Results and discussion
Growthcurver can be used to compute metrics for growthcurves in two modes: individually for a single sample, or in batch mode for an entire plate of samples.
In both cases, Growthcurver requires just two vectors of data for each growth curve: time measurements and absorbance readings taken at those times. The time measurements’ unit determines the unit of the metrics returned by Growthcurver (e.g., if the input data are in minutes, then the doubling time returned by Growthcurver is in minutes and the growth rate is in minutes −1). The absorbance of the media should be subtracted from the absorbance readings, and Growthcurver provides an option to do that automatically.
Example calls to Growthcurver can be found in the R documentation for the functions SummarizeGrowth and SummarizeGrowthByPlate, and extensive sample code for obtaining, checking, and interpreting growth curves is provided in the accompanying vignette .
Correlation between metrics
To compare different metrics computed by Growthcurver, we measured 937 growth curves of 33 different Escherichia coli K12 strains in 200 μL of Davis Minimal broth (Fluka 15758-500G-f) supplemented with 1 μg/L glucose (‘DM1000’ media). For each measurement, we started a pre-culture in 2 mL DM1000 media and grew it at 37 °C with shaking for 24 h. We diluted the overnight culture 10000-fold, transferred it into 96-well plates (TPP 92096), and placed it in a plate reader (Tecan Infinite 200 Pro). We grew the resulting 96 populations at 37 °C with shaking for 24 h, and took optical density (OD) readings at a wavelength of 600 nm every 10 min. We removed the contribution of the media from the optical density by subtracting the minimum observed OD value for each growth curve from the rest of the values. Finally, we used Growthcurver to obtain the growth curve metrics for these populations.
Here, we have described the R package Growthcurver that provides several growth curve metrics with intuitive biological interpretation, including the growth rate, the doubling time, the carrying capacity, and the area under the logistic growth curve which integrates the contributions of the other metrics into a single value.
Growthcurver is available for installation from CRAN  or Github . The accompanying vignette  provides step-by-step examples for analyzing a single sample and a plate of samples, as well as information on preparing the input data for analysis. Novice R users should be able to use the example code provided with few or no changes to analyze their own growth curve data.
The high-throughput nature of obtaining replicate growth curves in plates allows us to easily characterize hundreds of growth curves, even though caution is needed to interpret these metrics in terms of their effects on competitive fitness . Growthcurver allows for the straightforward analysis and interpretation of growth curve data collected in a high-throughput manner using plate readers.
Availability and requirements
Project name: Growthcurver
Project home page: http://github.com/sprouffske/growthcurver
Operating system: Platform independent
Programming language: R (version 3.2.2)
Other requirements: The R Project for Statistical Computing
License: GNU General Public License
Any restrictions to use by non-academics: According to GNU General Public License
The authors thank Sinisa Bratulic, Athena Chu, Rumen Kostadinov, and Macarena Toll-Riera for advice. KS acknowledges support through the Forschungskredit program of the University of Zurich, grant K-74301-03-0. AW acknowledges support through Swiss National Science Foundation grant 31003A_146137, as well as through the University Priority Research Program in Evolutionary Biology at the University of Zurich.
- 14.Crow JF, Kimura M. An Introduction to Population Genetics Theory. Caldwell, NJ: Harper and Row, Publishers, Inc.; 1970.Google Scholar
- 15.Rockwood LL. Introduction to Population Ecology, 2nd ed. West Sussex: Wiley; 2015.Google Scholar
- 16.Moré JJ. The Levenberg-Marquardt algorithm: implementation and theory. In: Numerical Analysis (Proc. 7th Biennial Conf., Univ. Dundee, Dundee, 1977). Springer: 1978. p. 105–16.Google Scholar
- 17.Elzhov TV, Mullen KM, Spiess AN, Bolker B. minpack.lm: R Interface to the Levenberg-Marquardt Nonlinear Least-Squares Algorithm Found in MINPACK, Plus Support for Bounds. https://cran.r-project.org/web/packages/minpack.lm. Accessed 24 Mar 2016.
- 19.Sprouffske K. Using Growthcurver. https://cran.r-project.org/web/packages/growthcurver/vignettes/Growthcurver-vignette.html. Accessed 24 Mar 2016.
- 20.Sprouffske K. Growthcurver: An R package for obtaining interpretable metrics from microbial growth curves. https://cran.r-project.org/web/packages/growthcurver/. Accessed 24 Mar 2016.
- 21.Sprouffske K. Growthcurver sourcecode. https://github.com/sprouffske/growthcurver. Accessed 24 Mar 2016.
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.