Package: biogrowth 1.0.8

biogrowth: Modelling of Population Growth

Modelling of population growth under static and dynamic environmental conditions. Includes functions for model fitting and making prediction under isothermal and dynamic conditions. The methods (algorithms & models) are based on predictive microbiology (See Perez-Rodriguez and Valero (2012, ISBN:978-1-4614-5519-6)).

Authors:Alberto Garre [aut, cre], Jeroen Koomen [aut], Heidy den Besten [aut], Marcel Zwietering [aut]

biogrowth_1.0.8.tar.gz
biogrowth_1.0.8.zip(r-4.7)biogrowth_1.0.8.zip(r-4.6)biogrowth_1.0.8.zip(r-4.5)
biogrowth_1.0.8.tgz(r-4.6-any)biogrowth_1.0.8.tgz(r-4.5-any)
biogrowth_1.0.8.tar.gz(r-4.7-any)biogrowth_1.0.8.tar.gz(r-4.6-any)
biogrowth_1.0.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
biogrowth/json (API)

# Install 'biogrowth' in R:
install.packages('biogrowth', repos = c('https://albgarre.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/albgarre/biogrowth/issues

Datasets:

On CRAN:

Conda:

6.48 score 7 stars 66 scripts 518 downloads 1 mentions 46 exports 44 dependencies

Last updated from:63fabbdde5. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK203
source / vignettesOK386
linux-release-x86_64OK176
macos-release-arm64OK145
macos-oldrel-arm64OK111
windows-develOK131
windows-releaseOK128
windows-oldrelOK134
wasm-releaseOK127

Exports:check_growth_guesscompare_growth_fitscompare_secondary_fitsdistribution_to_logcountfit_coupled_growthfit_dynamic_growthfit_growthfit_isothermal_growthfit_MCMC_growthfit_multiple_growthfit_multiple_growth_MCMCfit_secondary_growthfit_serial_dilutionget_TTDsis.DynamicGrowthis.FitDynamicGrowthis.FitDynamicGrowthMCMCis.FitIsoGrowthis.FitMultipleDynamicGrowthis.FitMultipleDynamicGrowthMCMCis.FitSecondaryGrowthis.GlobalGrowthFitis.GrowthFitis.GrowthPredictionis.GrowthUncertaintyis.IsothermalGrowthis.MCMCgrowthis.StochasticGrowthlambda_to_Q0make_guess_coupledmake_guess_primarymake_guess_secondarypredict_dynamic_growthpredict_growthpredict_growth_uncertaintypredict_isothermal_growthpredict_MCMC_growthpredict_stochastic_growthpredictMCMCpredictMCMC_coupledprimary_model_dataQ0_to_lambdasecondary_model_datashow_guess_coupledtime_to_logcounttime_to_size

Dependencies:clicodacowplotcpp11deSolvedplyrfarverFMEformula.toolsgenericsggplot2gluegtableisobandlabelinglamWlatticelifecyclemagrittrMASSminpack.lmminqamvtnormoperator.toolspillarpkgconfigpurrrR6RColorBrewerRcppRcppParallelrlangrootSolveS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Serial dilution method
The serial-fold dilution method | Principles | Implementation of the serial dilution method | Getting the time-to-detection | Estimating the growth rate from the time-to-detection | Estimating both the growth rate and lag phase duration from the time-to-detection

Last update: 2025-12-18
Started: 2025-04-10

Baranyi model with coupled secondary models
Theoretical background | The fit_coupled_growth() function | Two-steps fitting of the Baranyi-Ratkowsky model | One-step fitting of the Baranyi-Ratkowsky model | References

Last update: 2025-03-17
Started: 2025-03-17

Modelling approach
Population growth in predictive microbiology | Primary growth models included in biogrowth | Modified Gompertz model under static conditions | Logistic growth model | Richards growth model | Baranyi model under dynamic conditions | Baranyi model under static conditions | Relationship between Q0 and the lag phase duration | Baranyi model under static conditions without stationary phase | Baranyi model under static conditions without lag phase | Trilinear model under static conditions | Bilinear model with lag phase | Bilinear model with stationary phase | Loglinear model | Gathering primary models metadata directly from biogrowth | Secondary growth models included in biogrowth | Gamma factors by Zwietering | Cardinal Parameter Model (CPM) | (Adapted) Full Ratkowsky model | Secondary model by Aryani | Secondary model for water activity by Rosso | Secondary model for inhibitory compounds | Gathering meta data about secondary models directly from biogrowth | Summary of the model parameters | Numerical methods | References

Last update: 2024-11-08
Started: 2022-04-19

Custom distributions for uncertainty propagation

Last update: 2024-11-08
Started: 2023-08-21

Including uncertainty in growth predictions in biogrowth
Growth predictions with uncertainty using predict_growth_uncertainty() | Accounting for the uncertainty of a fitted model using predictMCMC() | Accounting for uncertainty when calculating the time to reach a population size

Last update: 2024-04-26
Started: 2022-04-19

Comparing growth models
Models fitted under constant environmental conditions | Models fitted under dynamic environmental conditions | Growth models fitted to multiple experiments (global fit) | Fitting of secondary models

Last update: 2022-05-31
Started: 2022-04-19

Fitting growth models in biogrowth
Fitting growth models with fit_growth() | Fitting primary growth models | Fitting both primary and secondar models from a single experiment under dynamic environnental conditions | Fitting both primary and secondary models from several experiments (global fitting) | Fitting secondary growth models with fit_secondary_growth()

Last update: 2022-05-31
Started: 2022-04-19

Growth predictions in biogrowth
The function predict_growth() | Growth predictions under constant environmental conditions | Basic growth predictions | Alternative definitions of model parameters | Definition of different logarithmic bases | Growth predictions under dynamic environmental conditions

Last update: 2022-05-30
Started: 2022-04-19

Advanced plotting options in biogrowth
Combining plots into subplots | Saving and reshaping plots | Full manual control

Last update: 2022-04-19
Started: 2022-04-19

About the units of the growth rate (mu)
Growth rate under constant environmental conditions | Mathematical justification | Implementation in biogrowth | Unit interpration for model fitting | Dynamic environmental conditions | A note when comparing predictions based on primary models against models with secondary models

Last update: 2022-04-19
Started: 2022-04-19

Deprecated and superseded functions
Deterministic modelling | Growth prediction under static conditions | Growth prediction under dynamic conditions | Time to reach a given population size | Fitting of primary models | One-step fitting under dynamic conditions | Global fitting of various (dynamic) experiments | One-step fitting using MCMC algorithms | Global fitting using MCMC algorithms | Stochastic prediction based on an MCMC fit

Last update: 2022-04-19
Started: 2022-04-19

Description of datasets

Last update: 2022-04-19
Started: 2022-04-19

Modelling constant environmental conditions using secondary models

Last update: 2022-04-19
Started: 2022-04-19

Readme and manuals

Help Manual

Help pageTopics
Generates functions for linear interpolation of environmental conditionsapprox_env
Number of tractors in the Arab World according to the World Bankarabian_tractors
Secondary Aryani modelAryani_model
Bilinear model with lag phasebilinear_lag
Bilinear model with stationary phasebilinear_stationary
Calculates every gamma factorcalculate_gammas
Gamma factors for fitting secondary modelscalculate_gammas_secondary
Visual check of an initial guess of the model parameterscheck_growth_guess
Basic check of parameters for primary modelscheck_primary_pars
Basic checks of secondary parameterscheck_secondary_pars
Model definition checks for predict_stochastic_growthcheck_stochastic_pars
Model comparison and selection for growth modelscompare_growth_fits
Model comparison and selection for secondary growth modelscompare_secondary_fits
Conditions during a dynamic growth experimentconditions_pH_temperature
Residuals of the coupled Baranyi modelcost_coupled_onestep
Cost for the coupled model fitted in two-stepscost_coupled_twosteps
Secondary Cardinal Parameter (CPM) modelCPM_model
Baranyi growth modeldBaranyi
Distribution of times to reach a certain microbial countdistribution_to_logcount
DynamicGrowth classcoef.DynamicGrowth DynamicGrowth plot.DynamicGrowth print.DynamicGrowth
Growth rates obtained for several growth experimentsexample_cardinal
Example data for two-steps fitting of the Baranyi-Ratkowsky modelexample_coupled_onestep
Example data for two-steps fitting of the Baranyi-Ratkowsky modelexample_coupled_twosteps
Microbial growth under dynamic conditionsexample_dynamic_growth
Environmental conditions during a dynamic experimentexample_env_conditions
Example data for TTD calculation and the serial-dilution methodexample_od
A helper to build the primary modelsextract_primary_pars
A helper to build the secondary modelsextract_secondary_pars
Growth fitting considering link between mu and lambda for the Baranyi-Ratkowsky modelfit_coupled_growth
Fit dynamic growth modelsfit_dynamic_growth
Fitting microbial growthfit_growth
Fit primary growth modelsfit_isothermal_growth
Fit growth models using MCMCfit_MCMC_growth
Fitting growth models to multiple dynamic experimentsfit_multiple_growth
Fitting growth models to multiple dynamic experiments using MCMCfit_multiple_growth_MCMC
Fit secondary growth modelsfit_secondary_growth
Serial-fold dilution methodfit_serial_dilution
FitCoupledGrowth classAIC.FitCoupledGrowth coef.FitCoupledGrowth deviance.FitCoupledGrowth FitCoupledGrowth fitted.FitCoupledGrowth logLik.FitCoupledGrowth plot.FitCoupledGrowth predict.FitCoupledGrowth predictMCMC_coupled.FitCoupledGrowth print.FitCoupledGrowth residuals.FitCoupledGrowth summary.FitCoupledGrowth vcov.FitCoupledGrowth
FitDynamicGrowth classAIC.FitDynamicGrowth coef.FitDynamicGrowth deviance.FitDynamicGrowth FitDynamicGrowth fitted.FitDynamicGrowth logLik.FitDynamicGrowth plot.FitDynamicGrowth predict.FitDynamicGrowth print.FitDynamicGrowth residuals.FitDynamicGrowth summary.FitDynamicGrowth vcov.FitDynamicGrowth
FitDynamicGrowthMCMC classAIC.FitDynamicGrowthMCMC coef.FitDynamicGrowthMCMC deviance.FitDynamicGrowthMCMC FitDynamicGrowthMCMC fitted.FitDynamicGrowthMCMC logLik.FitDynamicGrowthMCMC plot.FitDynamicGrowthMCMC predict.FitDynamicGrowthMCMC predictMCMC.FitDynamicGrowthMCMC print.FitDynamicGrowthMCMC residuals.FitDynamicGrowthMCMC summary.FitDynamicGrowthMCMC vcov.FitDynamicGrowthMCMC
FitIsoGrowth classAIC.FitIsoGrowth coef.FitIsoGrowth deviance.FitIsoGrowth FitIsoGrowth fitted.FitIsoGrowth logLik.FitIsoGrowth plot.FitIsoGrowth predict.FitIsoGrowth print.FitIsoGrowth residuals.FitIsoGrowth summary.FitIsoGrowth vcov.FitIsoGrowth
FitMultipleDynamicGrowth classAIC.FitMultipleDynamicGrowth coef.FitMultipleDynamicGrowth deviance.FitMultipleDynamicGrowth FitMultipleDynamicGrowth fitted.FitMultipleDynamicGrowth logLik.FitMultipleDynamicGrowth plot.FitMultipleDynamicGrowth predict.FitMultipleDynamicGrowth print.FitMultipleDynamicGrowth residuals.FitMultipleDynamicGrowth summary.FitMultipleDynamicGrowth vcov.FitMultipleDynamicGrowth
FitMultipleGrowthMCMC classAIC.FitMultipleGrowthMCMC coef.FitMultipleGrowthMCMC deviance.FitMultipleGrowthMCMC FitMultipleGrowthMCMC fitted.FitMultipleGrowthMCMC logLik.FitMultipleGrowthMCMC plot.FitMultipleGrowthMCMC predict.FitMultipleGrowthMCMC predictMCMC.FitMultipleGrowthMCMC print.FitMultipleGrowthMCMC residuals.FitMultipleGrowthMCMC summary.FitMultipleGrowthMCMC vcov.FitMultipleGrowthMCMC
FitSecondaryGrowth classAIC.FitSecondaryGrowth coef.FitSecondaryGrowth deviance.FitSecondaryGrowth FitSecondaryGrowth fitted.FitSecondaryGrowth logLik.FitSecondaryGrowth plot.FitSecondaryGrowth predict.FitSecondaryGrowth print.FitSecondaryGrowth residuals.FitSecondaryGrowth summary.FitSecondaryGrowth vcov.FitSecondaryGrowth
FitSerial classAIC.FitSerial coef.FitSerial deviance.FitSerial FitSerial fitted.FitSerial logLik.FitSerial plot.FitSerial predict.FitSerial print.FitSerial residuals.FitSerial summary.FitSerial vcov.FitSerial
Full Ratkowsky modelfull_Ratkowski
A helper for making the plotsget_all_predictions
Residuals of dynamic predictionget_dyna_residuals
Residuals of isothermal predictionget_iso_residuals
Residuals of multiple dynamic predictionsget_multi_dyna_residuals
Residuals of secondary modelsget_secondary_residuals
Estimation of the Time to Detection of OD measurementsget_TTDs
GlobalGrowthComparison classcoef.GlobalGrowthComparison GlobalGrowthComparison plot.GlobalGrowthComparison print.GlobalGrowthComparison summary.GlobalGrowthComparison
GlobalGrowthFit classAIC.GlobalGrowthFit coef.GlobalGrowthFit deviance.GlobalGrowthFit fitted.GlobalGrowthFit GlobalGrowthFit logLik.GlobalGrowthFit plot.GlobalGrowthFit predict.GlobalGrowthFit predictMCMC.GlobalGrowthFit print.GlobalGrowthFit residuals.GlobalGrowthFit summary.GlobalGrowthFit vcov.GlobalGrowthFit
Number of tractors in Greece according to the World Bankgreek_tractors
Example of dynamic growthgrowth_pH_temperature
Growth of Salmonella spp in brothgrowth_salmonella
GrowthComparison classcoef.GrowthComparison GrowthComparison plot.GrowthComparison print.GrowthComparison summary.GrowthComparison
GrowthFit classAIC.GrowthFit coef.GrowthFit deviance.GrowthFit fitted.GrowthFit GrowthFit logLik.GrowthFit plot.GrowthFit predict.GrowthFit predictMCMC.GrowthFit print.GrowthFit residuals.GrowthFit summary.GrowthFit vcov.GrowthFit
GrowthPrediction classcoef.GrowthPrediction GrowthPrediction plot.GrowthPrediction print.GrowthPrediction summary.GrowthPrediction
GrowthUncertainty classGrowthUncertainty plot.GrowthUncertainty print.GrowthUncertainty
Secondary model for inhibitory compoundsinhibitory_model
Test of DynamicGrowth objectis.DynamicGrowth
Test of FitDynamicGrowth objectis.FitDynamicGrowth
Test of FitDynamicGrowthMCMC objectis.FitDynamicGrowthMCMC
Test of FitIsoGrowth objectis.FitIsoGrowth
Test of FitMultipleDynamicGrowth objectis.FitMultipleDynamicGrowth
Test of FitMultipleDynamicGrowthMCMC objectis.FitMultipleDynamicGrowthMCMC
Test of FitSecondaryGrowth objectis.FitSecondaryGrowth
Test of GlobalGrowthFit objectis.GlobalGrowthFit
Test of GrowthFit objectis.GrowthFit
Test of GrowthPrediction objectis.GrowthPrediction
Test of GrowthUncertainty objectis.GrowthUncertainty
Test of IsothermalGrowth objectis.IsothermalGrowth
Test of MCMCgrowth objectis.MCMCgrowth
Test of StochasticGrowth objectis.StochasticGrowth
Isothermal Baranyi modeliso_Baranyi
Isothermal Baranyi model without lag phaseiso_Baranyi_noLag
Isothermal Baranyi model without stationary phaseiso_Baranyi_noStat
Reparameterized Gompertz modelgompertz iso_repGompertz modGompertz
IsothermalGrowth classcoef.IsothermalGrowth IsothermalGrowth plot.IsothermalGrowth print.IsothermalGrowth
Q0 from lag phase durationlambda_to_Q0
Logistic growth modellogistic_model
Loglinear modelloglinear_model
Initial guesses for fitting the Baranyi-Ratkowsky modelmake_guess_coupled
Initial guesses for the secondary model of one factormake_guess_factor
Initial guesses for fitting primary growth modelsmake_guess_primary
Initial guesses for the parameters of a secondary modelmake_guess_secondary
MCMCcoupled classMCMCcoupled plot.MCMCcoupled
MCMCgrowth classMCMCgrowth plot.MCMCgrowth print.MCMCgrowth
Environmental conditions during several dynamic experimentsmultiple_conditions
Population growth observed in several dynamic experimentsmultiple_counts
A set of growth experiments under dynamic conditionsmultiple_experiments
Predictions of the coupled Baranyi modelpred_coupled_baranyi
Prediction of lambda for the coupled modelpred_lambda
Prediction of the square root of mu for the coupled modelpred_sqmu
Growth under dynamic conditionspredict_dynamic_growth
Prediction of microbial growthpredict_growth
Isothermal growth with parameter uncertaintypredict_growth_uncertainty
Isothermal microbial growthpredict_isothermal_growth
Stochastic growth of MCMC fitpredict_MCMC_growth
Deprecated isothermal growth with parameter uncertaintypredict_stochastic_growth
Generic for calculating predictions with uncertainty from fitspredictMCMC
Generic for calculating predictions with uncertainty from fitspredictMCMC_coupled
Metainformation of primary growth modelsprimary_model_data
Lag phase duration from Q0Q0_to_lambda
Temperature recorded in refrigeratorsrefrigeratorSpain
Residuals for lambda for the coupled modelresiduals_lambda
Residuals for the square root of mu for the coupled modelresiduals_sqmu
Richards growth modelrichards_model
Secondary Rosso model for water activityRossoaw_model
Metainformation of secondary growth modelssecondary_model_data
SecondaryComparison classcoef.SecondaryComparison plot.SecondaryComparison print.SecondaryComparison SecondaryComparison summary.SecondaryComparison
Plot of the initial guess for the Baranyi-Ratkowsky modelshow_guess_coupled
Plot of the initial guess for growth under dynamic environmental conditionsshow_guess_dynamic
Plot of the initial guess for growth under constant environmental conditionsshow_guess_primary
StochasticGrowth classplot.StochasticGrowth print.StochasticGrowth StochasticGrowth
Time to reach a given microbial counttime_to_logcount
Time for the population to reach a given sizetime_to_size
TimeDistribution classplot.TimeDistribution print.TimeDistribution summary.TimeDistribution TimeDistribution
Trilinear growth modeltrilinear_model
Zwietering gamma modelzwietering_gamma