Description Usage Arguments Value Author(s) References See Also Examples
View source: R/plotfunctions.R
Three types of plots can be generated using the function specified by the plot.type
. A plot of the estimated absorbance measures is produced when plot.type = "raw"
. Finally, when plot.type = "output"
the drug specific absorbance associated with each concentration is plotted against the concentration.
1 2 3 4 5 6 7 | plotdrugColorCorrection(A.data, file = file.path(getwd(), "drugColorCorrection.pdf"),
drugs = NULL, pdfit = FALSE, width = 7, height = 3.5,
type.plot = c("output", "raw"), xlab = NULL, ylab = NULL,
main = NULL, xlim = NULL, ylim = NULL,
col = c("#71965A", "#4F6E9F", "#9F9692", "#9D2441",
"#333333", "#662D91", "#71DEC0", "#F7931E"),
col.plate = TRUE, set.par = FALSE, ...)
|
A.data |
An A.data object created by the function |
file |
Character specifying the pdf file for saving the resulting plots. |
drugs |
Character vector specifying the drugs for which the plot should be made. Defeaults to |
pdfit |
Logical indicating whether or not the plots should be saved in a pdf. |
width |
Numeric value specifying the width of the pdf in inches. |
height |
Numeric value specifying the height of the pdf in inches. |
type.plot |
Character specifying the type of plot to be made. Currently the implemented types are 1) |
xlab |
Character specifying the the x-axis label. |
ylab |
Character specifying the the y-axis label. For |
main |
The main title of the plots. |
xlim |
Numeric vector for the range of the x-axis. |
ylim |
Numeric vector for the range of the y-axis. |
col |
Vector of colours. |
col.plate |
With |
set.par |
Logical indicating whether or not options to par should be set by the function. |
... |
Additional arguments passed along to plot. |
plot of residual absorbance values after pre-processing. The lefthand plot is for the model that does not account for the heteroschedastic variance whereas the model for the righthand plot does.
The function was written at department of haematology, Aalborg University Hospital and maintained by Steffen Falgreen.
Steffen Falgreen et al. Exposure time independent summary statistics for assessment of drug dependent cell line growth inhibition (2013)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | require(DoseR)
data(A.data)
## Plot of the drug specific Absorbance measures with an 95% confidence interval.
plotdrugColorCorrection(A.data=A.data, type.plot = c("output"))
## Plot of the absorbance values. Use this plot for dagnostics of each dose response
## experiment. Plates that are not fitted adequately should be removed a plate is found
## In the plot to the left, the raw data is shown, the middle plot shows the absorbance values
## corrected in the conventional way, and the right plot shows the model corrected absorbance values.
par(mfrow = c(2,3))
plotdrugColorCorrection(A.data = A.data,
drugs = "Doxorubicin",
set.par = FALSE,
type.plot = c("raw"))
plotdrugColorCorrection(A.data = A.data,
drugs = "Rituximab",
set.par = FALSE,
type.plot = c("raw"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.