Description Usage Arguments Details Value
View source: R/calibrateScaling.r
Corrects the peak height scaling intercept.
1 2 3 4 5 6 7 8 9 10 11 | calibrateScaling(
data,
ref = NULL,
target,
c.min = 0,
c.max = 10000,
min.step.size = 1e-04,
exact.matching = FALSE,
progress = FALSE,
.i = 1
)
|
data |
data.frame simulated data. |
ref |
data.frame with reference profiles for the simulated data.
If NULL the best guess will be used (see |
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. |
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.
numeric corrected scaling intercept.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.