Generate a grouped results table for linear fits with average and standard deviations
Source:R/group_tables.R
table_group_growth_linear.Rd
Generate a grouped results table for linear 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 linear fit results. Empty cells indicate that no reliable fit could be determined.
Examples
# \donttest{
# Create random growth data set
rnd.data <- rdm.data(d = 30, mu = 0.6, A = 4.5, label = "Test2")
# Run growth curve analysis workflow
res <- growth.workflow(time = rnd.data$time,
data = rnd.data$data,
fit.opt = "l",
ec50 = FALSE,
export.res = FALSE,
parallelize = FALSE,
suppress.messages = TRUE)
table_group_growth_linear(res$gcFit$gcTable)
#> Sample|Conc. mumax tD lagtime dY
#> 1 Test2 | 0 0.47 ± 0.002 1.476 ± 0.007 3.913 ± 0.104 3.999 ± 0.211
#> 2 Test2 | 0.039 0.385 ± 0.015 1.804 ± 0.068 3.983 ± 0.238 1.861 ± 0.189
#> 3 Test2 | 0.059 0.343 ± 0.005 2.022 ± 0.031 3.832 ± 0.167 1.491 ± 0.076
#> 4 Test2 | 0.088 0.283 ± 0.013 2.453 ± 0.108 3.706 ± 0.345 1.115 ± 0.078
#> 5 Test2 | 0.13 0.21 ± 0.004 3.302 ± 0.058 3.404 ± 0.119 0.837 ± 0.086
#> 6 Test2 | 0.2 0.12 ± 0.005 5.79 ± 0.243 3.006 ± 0.405 0.371 ± 0.033
#> 7 Test2 | 0.3 0.016 ± 0.028 14.231 4.212 0.025 ± 0.043
#> 8 Test2 | 0.44
#> 9 Test2 | 0.67
#> 10 Test2 | 1
#> Y_max t_start(mumax) t_end(mumax)
#> 1 4.054 ± 0.211 7 ± 0.433 10.167 ± 0.577
#> 2 1.915 ± 0.189 7 ± 0.5 9.917 ± 0.144
#> 3 1.542 ± 0.077 6.333 ± 0.382 10.417 ± 0.52
#> 4 1.168 ± 0.081 6.917 ± 0.382 9.833 ± 0.52
#> 5 0.891 ± 0.09 8.667 ± 0.946 10.917 ± 1.181
#> 6 0.422 ± 0.035 10.25 ± 3.132 12.417 ± 3.166
#> 7 0.126 17.5 19.25
#> 8
#> 9
#> 10
# with HTML formatting
DT::datatable(table_group_growth_linear(res$gcFit$gcTable, html = TRUE),
escape = FALSE) # Do not escape HTML entities
# }