Generate a grouped results table for parametric fits with average and standard deviations
Source:R/group_tables.R
table_group_growth_model.Rd
Generate a grouped results table for parametric fits with average and standard deviations
Arguments
- gcTable
An object of class
gcTable
- html
(Logical) Should column headers contain html formatting?
Value
A data frame with grouped model fit results. Empty cells indicate that no reliable fit could be determined.
Examples
# Create random growth data set
rnd.data <- rdm.data(d = 35, mu = 0.8, A = 5, label = "Test1")
# Run growth curve analysis workflow
res <- growth.workflow(time = rnd.data$time,
data = rnd.data$data,
fit.opt = "m",
ec50 = FALSE,
export.res = FALSE,
parallelize = FALSE,
suppress.messages = TRUE)
table_group_growth_model(res$gcFit$gcTable)
#> Sample|Conc. mumax tD lagtime Y_max
#> 1 Test1 | 0 0.797 ± 0.006 0.87 ± 0.007 4.861 ± 0.148 4.821 ± 0.08
#> 2 Test1 | 0.017 0.792 ± 0.003 0.875 ± 0.004 5.275 ± 0.273 4.191 ± 0.035
#> 3 Test1 | 0.026 0.779 ± 0.008 0.89 ± 0.009 5.14 ± 0.172 4.154 ± 0.049
#> 4 Test1 | 0.039 0.757 ± 0.003 0.916 ± 0.004 5.252 ± 0.217 3.896 ± 0.016
#> 5 Test1 | 0.059 0.732 ± 0.01 0.947 ± 0.014 5.493 ± 0.122 3.713 ± 0.042
#> 6 Test1 | 0.088 0.674 ± 0.013 1.029 ± 0.019 5.584 ± 0.189 3.467 ± 0.059
#> 7 Test1 | 0.13 0.593 ± 0.005 1.17 ± 0.01 5.63 ± 0.049 3.185 ± 0.042
#> 8 Test1 | 0.2 0.443 ± 0.006 1.566 ± 0.02 5.928 ± 0.135 2.752 ± 0.024
#> 9 Test1 | 0.3 0.273 ± 0.003 2.536 ± 0.023 6.413 ± 0.067 2.207 ± 0.068
#> 10 Test1 | 0.44 0.142 ± 0.007 4.888 ± 0.238 6.608 ± 0.343 1.589 ± 0.092
#> 11 Test1 | 0.67 0.08 ± 0.015 8.935 ± 1.811 6.569 ± 0.633 0.846 ± 0.108
#> 12 Test1 | 1
#> dY
#> 1 4.814 ± 0.071
#> 2 4.201 ± 0.039
#> 3 4.145 ± 0.054
#> 4 3.882 ± 0.028
#> 5 3.709 ± 0.034
#> 6 3.467 ± 0.057
#> 7 3.19 ± 0.039
#> 8 2.73 ± 0.04
#> 9 2.148 ± 0.06
#> 10 1.316 ± 0.086
#> 11 0.566 ± 0.02
#> 12
# with HTML formatting
DT::datatable(table_group_growth_model(res$gcFit$gcTable, html = TRUE),
escape = FALSE) # Do not escape HTML entities