Description Usage Arguments Value Author(s) References See Also Examples
View source: R/plotfunctions.R
Plot of the normalised absorbance values.
1 2 3 4 5 6 7 8 9 10 11 12 13 | plotbgModel(A.data, names = NULL, drugs = NULL, times = NULL,
pdfit = FALSE, unit = "mol/l", logfun = "log10",
plots = c("Raw", "Color Corrected",
"Simple Correction", "Model Correction"),
ylab = "Absorbance", xlab = NULL, main = NULL,
title.1 = NULL,
title.2 = c("Raw", "Color Corrected",
"Simple Correction", "Model Correction"),
figure.output = file.path(getwd(), "Normalisation"),
col = c("#4F6E9F", "#71965A", "#9F9692", "#9D2441",
"#333333", "#662D91", "#71DEC0", "#F7931E"),
width = 6.69, height = NULL, pointsize = 5,
cex = 1, set.par = TRUE, ...)
|
A.data |
The A.data object created by the function bgModel. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
names |
Character vector of the cell lines that are to be plotted. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
drugs |
Character vector of the drugs that are to be plotted. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
times |
Numeric vector of the times that are to be plotted. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pdfit |
Logical indicating whether or not the plots should be saved in a pdf. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
unit |
Character indicating the scale used for concentrations when estimating the isotonic regression and the summary statistcs. The unit is written as e.g. ug/ml to indicate micro grams per milli litre and defaults to
The current implementations for fractions are:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
logfun |
Character indicating if the concentrations should be log transformed. The possible inputs are | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
plots |
character vector of the plots made. The value | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ylab |
Label for the y-axis. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
xlab |
Vector of labels for the x-axis | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
main |
Vector of titles for he plot. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title.1 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
title.2 |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
figure.output |
Directory for storing the pdf files. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
col |
Vector of colors used for the absorbance values. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
width |
Numeric value indicating the width of the pdf. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
height |
Numeric value indicating the height of the pdf. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
pointsize |
Numeric value indicating the pointsize used in the pdf. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
cex |
Numeric value indicating the cex value used in the plot. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
set.par |
Logical indicater for whether or not the the number of plots per figure. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
... |
Further arguments passed on to the plot. |
plot of absorbance values plotted aginst time with the result of the G-model superimposed.
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 22 23 | require(DoseR)
data(A.data)
# Diagnostics plot of for cell line "RPMI-8226" for the drug
# RPMI-8226" at time point 48. From left to right the plots are
# for Raw data, colour corrected, simple background correction,
# and model-based correction.
plotbgModel(A.data = A.data,
pdfit = FALSE,
names = "RPMI-8226",
drugs = "Doxorubicin",
times = 48,
set.par = TRUE)
# The following code chunk saves the diagnostics plot for all cell lines,
# all drugs, and all times in the folder normalisation.
# plotbgModel(A.data=A.data,
# figure.output="Normalisation",
# pdfit = TRUE,
# pointsize = 8,
# set.par=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.