
Introduction to predmicror
Vasco Cadavez
Ursula Gonzales-Barron
2026-06-13
Source:vignettes/predmicror.Rmd
predmicror.RmdIntroduction
Predictive Microbiology deals with the development of accurate and, at the same time, versatile mathematical models, able to describe the microbial evolution in food products as a function of environmental conditions, which are assumed to be measurable.
The predmicror (https://github.com/fsqanalytics/predmicror/) is a package for fitting the most widely used predictive microbiology models.
Primary growth models
The actual version includes primary growth models that describe microbial concentration as a function of time at constant environmental conditions. The model inputs are:
- : time, assuming time zero as the beginning of the experiment; and
- : the natural logarithm of the microbial concentration measured at time .
Users should make sure that the microbial concentration input is entered in natural logarithm, .
The number of model parameters is dependent upon the completeness of the microbial growth curve. The following parameters can be estimated using this web application:
- : the natural logarithm of the initial microbial concentration at ;
- : maximum specific growth rate given in time ;
- : duration of the lag phase in time units; and
- : the natural logarithm of the maximum concentration reached by the microorganism.
A full model should be adjusted to a complete
microbial curve, where the lag phase, exponential phase and stationary
phase can be identified. The predmicror can also fit
reduced models. A no-stationary phase model is to be
adjusted to an experimental microbial curve that presents lag phase and
exponential phase, whereas a no-lag phase model should
be adjusted to an experimental curve composed of exponential phase and
stationary phase. An experimental growth curve that presents only
exponential phase cannot be analysed using the
predmicror functions.
Full growth models
predmicror can adjust four nonlinear models to complete microbial growth curves: Huang model, Rosso model, Baranyi & Roberts model and the Zwietering reparameterised Gompertz model.
Huang model
The Huang growth model was developed by Huang (2008).
After evaluating multiple growth data sets, Huang (2013) recommended fixing the parameter
to 4.0, thus predmicror considers
.
Baranyi & Roberts model
The original Baranyi & Roberts model attributes the lag phase to
the need to synthesise an unknown substrate q that is
critical for growth, whose initial value
is a measure of the initial physiological state of the microbial cells
(Baranyi & Roberts (1994)).
predmicror implements the Baranyi & Roberts model with basis on the transformation , in order to estimate . Thus, the model parameterisation used is:
Most of the times, the parameter m, which characterises
the curvature before the stationary phase is assumed to be 1.0. The
predmicror simplifies this model by assuming
.
No stationary phase growth models
predmicror can adjust three nonlinear models to microbial growth curves without stationary phase: reduced Huang model, reduced Baranyi & Roberts model and two-phase linear growth model.
Huang model
This model is a special case of the complete Huang model, suitable for experimental growth curves that do not reach stationary phases.
The cardinal parameter model
Predictive Microbiology deals with the development of accurate and versatile mathematical models, able to describe the evolution of microorganisms in food products as a function of environmental conditions, which are assumed to be measurable. Although there are a few classification schemes of predictive microbiology models, they have been traditionally classified into primary and secondary models.
predmicror can be used to fit cardinal parameter
models, which are secondary models that describe the growth
rate of microorganisms as a function of extrinsic and/or intrinsic
factors. These are models that estimate the optimum growth rate, and the
minimum, optimum and maximum values of extrinsic and intrinsic factors
(e.g. temperature, pH, water activity) that characterise the growth of a
given microbial strain.
The general cardinal parameter model used to describe and predict the effect of different environmental factors on the growth rate of a microorganism is based on a modular approach called the gamma concept (Zwietering et al., 1991), described as,
where:
- : maximum growth rate (h^-1 or day^-1) of the studied bacterial strain
- : optimum growth rate (h^-1 or day^-1) of the studied bacterial strain
- : dimensionless functions describing the relative effects of temperature (T), pH, water activity (aw) and different measurable inhibitors (Inh) like undissociated organic acids or .
The functions have a range between 0 and 1, when growth is fully inhibited and when growth is not inhibited at all by the factor.
Cardinal Parameters
Many
-type
functions have been proposed for temperature, pH, aw and lactic acid.
The predmicror adjusts the cardinal parameter model using
the general equation for
proposed by Rosso et al. (1995).
- : intrinsic or extrinsic factor under study; temperature, pH or aw
- : value of the factor below which no growth occurs
- : value of the factor above which no growth occurs
- : value at which bacterial growth is optimum
- : shape parameter ( for temperature and water activity; and for pH).
- , and are known as cardinal parameters, and are estimated by fitting the cardinal parameter model to growth data from experiments carried out in broth.
More precisely,
,
and
are determined from
;
,
and
are determined from
;
and
,
and
are determined from
.
Often, when adjusting the cardinal parameter model for aw,
is set to one, because it is in effect the maximum value of the water
activity measurement.
Cardinal parameter models available in predmicror
Cardinal parameter model for temperature
The predimicror adjusts the Cardinal Temperature Model
with Inflection (CTMI) (Rosso et al.,
1993) to determine optimum growth rate (
)
and the cardinal parameters
,
and
.
To fit this model to the growth data, the response variable, maximum growth rate ( ), is square-root transformed to reduce heterocedasticity. The residuals are represented by , and are assumed to follow a normal distribution with mean zero and variance .
Cardinal parameter model for pH
To determine optimum growth rate
()
and the cardinal parameters
,
and
,
predmicror adjusts the cardinal model for pH proposed by
Le Marc et al. (2002).
Cardinal parameter model for Aw
predmicror adjusts the cardinal model for water activity
from Rosso et al. (1993) to extract
optimum growth rate
()
and the cardinal parameters
and
.
To fit this model to the growth data, the response variable, maximum growth rate ( ), is square-root transformed to reduce heterocedasticity. The residuals are represented by , and are assumed to follow a normal distribution with mean zero and variance .
Cardinal parameter model for inhibitory substance
For the inhibitors (Inh) including undissociated organic acids,
and others, the cardinal parameter model proposed by Le Marc et al. (2002))and Coroller et al. (2005) can be fitter by the
predmicror.
-
Inh: concentration of the inhibiting substance or compound (e.g. undissociated organic acid (mM), CO (%) -
MIC: Minimum Inhibitory Concentration (mM or %, accordingly) - : shape parameter of the curve ( the shape is linear; the shape is downward concave; and the shape is upward concave).
To fit this model to the growth data, the response variable, maximum growth rate ( ), is square-root transformed to reduce heterocedasticity. The residuals are represented by , and are assumed to follow a normal distribution with mean zero and variance . The model parameters are MIC and .