R/amp_melt_curve_functions.R
calculate_dydx_1.Rd
Used in tidyqpcr to calculate dR/dT for a melt curve of fluorescence signal R vs temperature T.
calculate_dydx_1(x, y, method = "spline", ...)
x | input variable, numeric vector, assumed to be temperature |
---|---|
y | output variable, numeric vector of same length as x, assumed to be fluorescence signal. |
method | to use for smoothing: "spline" default, uses smoothing spline stats::smooth.spline. "diff" base::diff for lagged difference |
... | other arguments to pass to smoothing method. |
estimated first derivative of y with respect to x, numeric vector of same length as y.
Other melt_curve_functions:
calculate_drdt_plate()