plot.cellsurvLQfit {CFAssay} | R Documentation |
This function plots a cell survival curve derived from fitting an LQ model with function cellsurvLQfit
## S3 method for class 'cellsurvLQfit' plot(x, xlim = NULL, ylim = c(0.008, 1), xlab = "Dose (Gy)", ylab = "Survival (1 = 100%)",col=1, pch=1, add=FALSE, ...)
x |
an object of class |
xlim |
plot range for the x-axis. Default is the dose range of the data. |
ylim |
plot range for the y-axis. Default is from 0.008 to 1.0 |
xlab |
label for the x-axis. Default is "Dose (Gy)". |
ylab |
label for the y-axis. Default is "Survival (1 = 100%)". |
col |
colour for plot. Default is |
pch |
symbol for plotting points. Default is |
add |
logical; if TRUE add to an already existing plot, see |
... |
further arguments to pass to R function |
Herbert Braselmann
datatab<- read.table(system.file("doc", "expl1_cellsurvcurves.txt", package="CFAssay"), header=TRUE, sep="\t") X<- subset(datatab, cline=="okf6TERT1") fit<- cellsurvLQfit(X) plot(fit) S0 <- pes(X)$S0 names(S0) <- pes(X)$Exp sfpmean(X, S0) #values of plotted mean survival fractions and error bars # add second plot plot(cellsurvLQfit(subset(datatab, cline=="cal33")), col=2, add=TRUE)