pwr_reg {CFAcoop}R Documentation

pwr_reg

Description

pwr_reg performs a power regression (log(C) = log(a) + b * log(S) + e)) for clonogenic assay data of experiments examining the cellular cooperation.

Usage

pwr_reg(seeded, counted)

Arguments

seeded

numeric vector with number of cells seeded (S)

counted

numeric vector with number of colonies counted (C, same length as seeded)

Value

summary.lm object as returned by summary

Examples

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`)

[Package CFAcoop version 0.1.0 Index]