| plot.dr_parameter | R Documentation | 
plot.dr_parameter gathers parameters from the results of a dose-response analysis and compares a chosen parameter between each condition in a column plot. Error bars represent the 95% confidence interval (only shown for > 2 replicates).
## S3 method for class 'dr_parameter'
plot(
  x,
  param = c("EC50", "EC50.Estimate", "y.max", "y.min", "fc", "K", "n", "yEC50",
    "drboot.meanEC50", "drboot.meanEC50y", "EC50.orig", "yEC50.orig"),
  names = NULL,
  exclude.nm = NULL,
  basesize = 12,
  reference.nm = NULL,
  label.size = NULL,
  plot = TRUE,
  export = FALSE,
  height = 7,
  width = NULL,
  out.dir = NULL,
  out.nm = NULL,
  ...
)
| x | A  | 
| param | (Character) The parameter used to compare different sample groups. Any name of a column containing numeric values in  | 
| names | (String or vector of strings) Define groups to combine into a single plot. Partial matches with sample/group names are accepted. If  | 
| exclude.nm | (String or vector of strings) Define groups to exclude from the plot. Partial matches with sample/group names are accepted. | 
| basesize | (Numeric) Base font size. | 
| reference.nm | (Character) Name of the reference condition, to which parameter values are normalized. Partially matching strings are tolerated as long as they can uniquely identify the condition. | 
| label.size | (Numeric) Font size for sample labels below x-axis. | 
| plot | (Logical) Show the generated plot in the  | 
| export | (Logical) Export the generated plot as PDF and PNG files ( | 
| height | (Numeric) Height of the exported image in inches. | 
| width | (Numeric) Width of the exported image in inches. | 
| out.dir | (Character) Name or path to a folder in which the exported files are stored. If  | 
| out.nm | (Character) The name of the PDF and PNG files if  | 
| ... | Additional arguments. This has currently no effect and is only meant to fulfill the requirements of a generic function. | 
A column plot comparing a selected parameter of a dose-response analysis between tested conditions.
# Create random growth data set
rnd.data1 <- rdm.data(d = 35, mu = 0.8, A = 5, label = "Test1")
rnd.data2 <- rdm.data(d = 35, mu = 0.6, A = 4.5, label = "Test2")
rnd.data <- list()
rnd.data[["time"]] <- rbind(rnd.data1$time, rnd.data2$time)
rnd.data[["data"]] <- rbind(rnd.data1$data, rnd.data2$data)
# Run growth curve analysis workflow
gcFit <- growth.gcFit(time = rnd.data$time,
                       data = rnd.data$data,
                       parallelize = FALSE,
                       control = growth.control(fit.opt = "s",
                                                suppress.messages = TRUE))
# Perform dose-response analysis
drFit <- growth.drFit(gcTable = gcFit$gcTable,
            control = growth.control(dr.parameter = "mu.spline"))
plot.dr_parameter(drFit, param = 'EC50')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.