plot.cellsurvLQfit: Plot of an LQ model fit

Description Usage Arguments Author(s) See Also Examples

View source: R/plot.cellsurvLQfit.R

Description

This function plots a cell survival curve derived from fitting an LQ model with function cellsurvLQfit

Usage

1
2
## 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, ...)

Arguments

x

an object of class cellsurvLQfit resulting from function cellsurvLQfit.

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 col = 1.

pch

symbol for plotting points. Default is pch = 1.

add

logical; if TRUE add to an already existing plot, see curve.

...

further arguments to pass to R function plot.

Author(s)

Herbert Braselmann

See Also

cellsurvLQfit

Examples

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)

ZytoHMGU/CFAssay documentation built on Nov. 19, 2019, 12:48 p.m.