View source: R/dose-response-analysis.R
growth.drFitModel | R Documentation |
Fit various models to response vs. concentration data of a single sample to determine the EC50.
growth.drFitModel(conc, test, drID = "undefined", control = growth.control())
conc |
Vector of concentration values. |
test |
Vector of response parameter values of the same length as |
drID |
(Character) The name of the analyzed condition |
control |
A |
A drFitModel
object.
Christian Ritz, Florent Baty, Jens C. Streibig, Daniel Gerhard (2015). Dose-Response Analysis Using R. PLoS ONE 10(12): e0146021. DOI: 10.1371/journal.pone.0146021
conc <- c(0, rev(unlist(lapply(1:18, function(x) 10*(2/3)^x))),10)
response <- c(1/(1+exp(-0.7*(4-conc[-20])))+rnorm(19)/50, 0)
TestRun <- growth.drFitModel(conc, response, drID = 'test')
print(summary(TestRun))
plot(TestRun)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.