data.frame with reference profiles for the simulated data.
If NULL the best guess will be used (see guessProfile).
target
numeric target average peak height 'H'.
c.min
numeric the smallest correction factor in the current range.
c.max
numeric the largest correction factor in the current range.
min.step.size
numeric threshold. Exit function when step size is this small.
exact.matching
logical to indicate exact reference sample to dataset sample name matching.
progress
logical flag to show progress messages.
.i
integer internal counter for number of iterations.
Value
numeric corrected scaling intercept.
Details
Finds the scaling factor correction that gives the best fit between the
simulated peak heights and the target average peak height.
This is the final step in calibrating pcrsim for a specific kit and method.