Remove baseline from qPCR amplification curves by subtracting median of initial cycles.

debaseline(plateamp, maxcycle = 10)

Arguments

plateamp

data frame with plate amplification data, including variables well, cycle, fluor_raw (raw fluorescence value), and program_no. Assume program 2 for amplification curves from Roche LightCycler format data.

maxcycle

maximum cycle value to use for baseline, before amplification.

Value

platemap with additional columns per well:

fluor_basebaseline /background value
fluor_signalnormalized fluorescence signal, i.e. fluor_raw - fluor_base

Details

BETA function version because:

- assumes Roche LightCycler format, we should ideally replace "program_no == 2" by something more generic?

- the rule-of thumb "baseline is median of initial 10 cycles" has not been tested robustly