LDA_prepare_plot: LDA_prepare_plot

View source: R/LDA_prepare_plot.R

LDA_prepare_plotR Documentation

LDA_prepare_plot

Description

analyze limiting dilution assay (LDA) data and collect information for plotting.

Usage

LDA_prepare_plot(LDA_tab, uncertainty = "act")

Arguments

LDA_tab

LDA data.frame ("cells", "wells", "positive", "group", "replicate")

uncertainty

method for approximation of uncertainties of survival fractions (SF): activity based ("act") or by error propagation ("ep")

Value

none

Examples

x <- data.frame("cells" = rep(c(10,50,100,250),times = 4),
                "wells" = rep(25,16),
                "positive" = c(2,5,10,20,1,2,6,11,3,4,8,22,1,1,7,12),
                "group" = rep(c(rep("A",4),rep("B",4)),times = 2),
                "replicate" = c(rep(1,8),rep(2,8)))
LDA_prepare_plot(x)
# data(LDAdata)
# Z1 <- subset.data.frame(LDAdata,subset = name == unique(LDAdata$name)[1])
# LDA_prepare_plot(Z1[,c("S-value","# Tested","# Clonal growth","Group",
#                      "replicate")])

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