estimate_growth_rate: Fit input data to a logistic growth function

Description Usage Arguments Details Value See Also Examples

View source: R/estimate_growth_rate.R

Description

estimate_growth_rate fits the input OD data to a logistic growth function. It differs from growthcurver by fitting the logged data and function. It can also subtract an estimated value for blank wells (taking the minimum across all readings), and takes into account measurements only after t_start.

Usage

1
2
3
4
5
6
7
estimate_growth_rate(
  OD_data,
  t_start = 0,
  t_col = "time",
  blank_tf = T,
  verbose = T
)

Arguments

OD_data

Dataframe of OD data. Expects a column for the time (t_col), and will interpret all other columns as OD data for different samples (identified by their column name).

t_start

Earliest possible time point from which to start the fit.

t_col

Name of the time column (defaults to 'time').

blank_tf

Boolean. Should a blank value be subtracted?

verbose

Boolean. Should warnings be returned?

Details

*Note*: this function is not as thoroughly tested as those to estimate conjugation rates, and is primarily included for convenience. We generally recommend using a dedicated package to estimate growth rates.

Value

Dataframe of estimated growth parameters. Contains columns name, carrying_cap, growth_rate, N0, t_min and t_stat.

See Also

Other growth rate functions: .logist(), get_growth_fit_for_plot()

Examples

1
estimate_growth_rate(growth_example, t_start = 1, t_col = 'Time_h')

JSHuisman/conjugator documentation built on Dec. 18, 2021, 12:27 a.m.