pwr_reg {CFAcoop} | R Documentation |
pwr_reg
performs a power regression
(log(C) = log(a) + b * log(S) + e)) for clonogenic assay data of
experiments examining the cellular cooperation.
pwr_reg(seeded, counted)
seeded |
numeric vector with number of cells seeded (S) |
counted |
numeric vector with number of colonies counted (C, same
length as |
summary.lm
object as returned by summary
pwr_reg(
seeded = 10^(seq(1, 5, 0.5)),
counted = 0.4 * (10^seq(1, 5, 0.5))^1.25 * rnorm(n = 9, 1, 0.05)
)
data(CFAdata)
D <- subset.data.frame(
x = CFAdata,
subset = cell.line == levels(CFAdata$cell.line)[1]
)
pwr_reg(seeded = D$`Cells seeded`, counted = D$`0 Gy`)