Description Usage Arguments Author(s) See Also Examples
View source: R/plot.cellsurvLQfit.R
This function plots a cell survival curve derived from fitting an LQ model with function cellsurvLQfit
1 2 |
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
1 2 3 4 5 6 7 8 9 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.