LDA_survival_single: LDA_survival_single

View source: R/LDA_survival_single.R

LDA_survival_singleR Documentation

LDA_survival_single

Description

calculate clonogenic survival fraction from LDA_activity objects.

Usage

LDA_survival_single(act.0, act.x)

Arguments

act.0

reference activity

act.x

activity after treatment

Value

list object with survival fraction, estimated confidence intervals (by error propagation through first order Taylor series approximation and by combination of 84

Examples

x.a <- data.frame("cells" = c(10,50,100,250),
                "wells" = rep(25,4),
                "positive" = c(2,5,10,20))
x.b <- data.frame("cells" = c(10,50,100,250),
                "wells" = rep(25,4),
                "positive" = c(1,2,6,11))
act.a <- LDA_activity_single(x.a)
act.b <- LDA_activity_single(x.b)
sf <- LDA_survival_single(act.0 = act.a,act.x = act.b)
data(LDAdata)
cell.line <- unique(LDAdata$name)[1]
x <- subset.data.frame(LDAdata, subset = (name==cell.line) & (Group < 2))
act <- LDA_activity(x[,c(4:6,3)])
sf <- LDA_survival_single(act.0 = act[[1]],act.x = act[[2]])

LDAcoop documentation built on Oct. 9, 2023, 5:11 p.m.