datatab <- read.table(system.file("doc", "expl1_cellsurvcurves.txt", package="CFAssay"), header=TRUE, sep="\t")
X <- subset(datatab, cline=="okf6TERT1")
S0 <- pes(X)$pe #observed plating efficiencies
length(S0)==length(unique(X$Exp)) #length ok?
names(S0) <- pes(X)$Exp
sfpmean(X, S0)
fit <- cellsurvLQfit(X)
fit$coef #contains fitted log-pe
grep("Exp",names(fit$coef))
S01 <- exp(fit$coef[1:8]) #fitted pe
sfpmean(X, S01)
## Not run: sfpmean(X) #yields an error for this data set
Run the code above in your browser using DataLab