Implements temporal derivative distribution repair with a third-order Butterworth low-pass and Tukey bisquare derivative weights.
Usage
tddr(
x,
assay_name = "OD",
output_assay = paste0(assay_name, "_tddr"),
cutoff_hz = 0.5,
tune = 4.685,
max_iter = 50L
)Examples
od <- intensityToOD(PhysioNIRS:::.nirs_demo_object())
corrected <- tddr(od)
SummarizedExperiment::assayNames(corrected)
#> [1] "raw" "OD" "OD_tddr"