when.threshold {fluoSurv} | R Documentation |
Computes when fluorescence exceeds a given threshold value
Description
Computes when fluorescence exceeds a given threshold value
Usage
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
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)))
[Package fluoSurv version 1.0.0 Index]