Learn R Programming

pcrsim (version 0.1.1)

findScaling: Find scaling factor

Description

findScaling Find a peak height scaling value for simPCR that satisfy the target average peak height.

Usage

findScaling(sim, targetH, acceptedDev = 100,
    stepSize = 1, seed = 0, maxRounds = 10000,
    progress = FALSE, tDetect = 1.25 * 10^6, cyc = 30,
    ncells = 83, debug = FALSE)

Arguments

sim
integer for number of simulations.
targetH
numeric vector with target average peak height.
acceptedDev
numeric, accepted deviation from target.
stepSize
numeric, scaling is changed by this value.
seed
numeric, start value for optimisation of scaling.
maxRounds
numeric, maximal number of iterations.
progress
logical, print progress to console.
tDetect
numeric, detection threshold.
cyc
integer, number of PCR cycles.
ncells
integer, number of cells.
debug
logical, print debug information to console.

Value

  • numeric vector with scaling factors.

Details

Experimental function.