Learn R Programming

CFAssay (version 1.6.0)

plotExp.cellsurvLQfit: Diagnostic plots of LQ model versus experiments

Description

This function plots the fit of an LQ model versus the fits of each experiment in a series of plots. It is recommended to direct it in a pdf-file.

Usage

"plotExp"(x, xlim = NULL, ylim = c(0.001, 1.5), xlab = "Dose (Gy)", ylab = "Survival (1 = 100%)", ...)

Arguments

x
an object of class cellsurvLQfit resulting from function cellsurvLQfit.
xlim
range of x axis (dose).
ylim
range of y-axis.
xlab
label of x-axis.
ylab
label of y-axis.
...
further arguments to pass to generic function plotExp.

See Also

cellsurvLQfit

Examples

Run this code
datatab<- read.table(system.file("doc", "expl1_cellsurvcurves.txt", package="CFAssay"), header=TRUE, sep="\t")
X<- subset(datatab, cline=="okf6TERT1")
fit<- cellsurvLQfit(X)
print(fit)
#pdf("okf6TERT1_experimental_plots.pdf")
   plotExp(fit)
#dev.off()

Run the code above in your browser using DataLab