Description Usage Arguments Value See Also Examples
The function passes the numeric vectors conc
and test
to the function drFitSpline, which fits a smoothed spline to the data and estimates the EC50. Calling drFitSpline several times (specified by the options set in control
) creates a bootstrap sample in form of a list of objects of class drFitSpline
.
1 2 | drBootSpline(conc, test, drID = "undefined",
control = grofit.control())
|
conc |
Numeric vector, containing concentration information for dose-response. curve fit and EC50 estimation. |
test |
Numeric vector, containing response values related to concentrations. |
drID |
Character, identifying the dose-response data. |
control |
Object of class |
Generates an object of class drBootSpline
raw.conc |
Raw data given to the function; equivalent to |
raw.test |
Raw data given to the function; equivalent to |
drID |
String identifier given to the function; equivalent to |
boot.conc |
Table of concentration values per column, resulting from each spline fit of the bootstrap. |
boot.test |
Table of response values per column, resulting from each spline fit of the bootstrap. |
boot.drSpline |
List containing all |
ec50.boot |
Vector of estimated EC50 values from each bootstrap entry. |
bootFlag |
Logical, indicating an empty bootstrap sample. |
control |
Object of class |
drFitSpline
, summary.drBootSpline
, plot.drBootSpline
1 2 3 4 5 | x <- 1:50
y <- 30/(1+exp(-0.5*(25-x)))+rnorm(50)
TestRun <- drBootSpline(x,y,"ID",grofit.control(nboot.dr=50))
print(summary(TestRun))
plot(TestRun)
|
=== Bootstrapping of dose response curve ==========
--- EC 50 -----------------------------------------
Mean : 24.7465865865866 StDev : 0.113672136805712
90% CI: 24.5595959215412 90% CI: 24.933577251632
95% CI: 24.5237891984474 95% CI: 24.9693839747258
meanEC50 sdEC50 ci90EC50.lo ci90EC50.up ci95EC50.lo ci95EC50.up
1 24.74659 0.1136721 24.5596 24.93358 24.52379 24.96938
meanEC50.orig ci90EC50.orig.lo ci90EC50.orig.up ci95EC50.orig.lo
1 24.74659 24.5596 24.93358 24.52379
ci95EC50.orig.up
1 24.96938
dev.new(): using pdf(file="Rplots1.pdf")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.