This function will calculate Cq values for the data frame input.cq You need to have input.cq and input.raw from "read.fluorescenceTable" / "read.cqTable" or build them manually.

calc.Cq(method = "TP", fct = "ll5", cq.new = "calc.Cq")

Arguments

method

The method used to calculate the Cq value. "TP" for Turning Point (first derivative) . "SD" for first exponential incline (second derivative).

fct

will be used by drc as fitting function. "ll4" or "ll5" is implemented.

cq.new

The Column name of the new Cq values.

Value

does not return! adds Cq value to input.cq data frame

Details

!This will fail sometimes, do to uniroot() function returning 0!