Description Usage Arguments Details Value See Also Examples
View source: R/estimate_growth_rate.R
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.
1 2 3 4 5 6 7 | estimate_growth_rate(
OD_data,
t_start = 0,
t_col = "time",
blank_tf = T,
verbose = T
)
|
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? |
*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.
Dataframe of estimated growth parameters. Contains columns name, carrying_cap, growth_rate, N0, t_min and t_stat.
Other growth rate functions:
.logist()
,
get_growth_fit_for_plot()
1 | estimate_growth_rate(growth_example, t_start = 1, t_col = 'Time_h')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.