when.threshold: Computes when fluorescence exceeds a given threshold value

Description Usage Arguments Examples

View source: R/src_routine_estimation_t_mort.R

Description

Computes when fluorescence exceeds a given threshold value

Usage

1
when.threshold(t, x, min.t = 5, threshold = 0.1, n = 50)

Arguments

t

The time value

x

The fluorescence value

min.t

The time value after which threshold value is searched

threshold

Threshold value, as a proportion above the maximum intensity value observed before min.t

n

Width of the moving average window used to smooth signal

Examples

1
2
3
4
5
6
data(galleria)
d <- subset(galleria,!is.na(value))
l  <- lapply(split(d,d$well),extract.well)   #complete kinetics for each well

with(l[["A3"]],plot(t_2_485_535,log(value_2_485_535,10),type="l"))
with(l[["A3"]],abline(v=when.threshold(t_2_485_535,value_2_485_535)))

fluoSurv documentation built on May 2, 2019, 2:18 p.m.