sim.exponential: Signal perturbation: exponential

Description Usage Arguments Value See Also

View source: R/perturbations.R

Description

Distort a baseline signal by creating an exponentially increasing/decreasing (quasi-)blow-up in the signal values.

Usage

1
sim.exponential(baseline, range, range_by_time = TRUE, strength)

Arguments

baseline

baseline, as generated by function sim.baseline, possibly perturbed by other functions.

range

indices of affected values. Either a start and end index or the whole range. If length of range is 2 and second value is infinity, the second value is converted to highest possible value. If range is NULL, maximum range (1 to max) is taken.

range_by_time

Boolean, indicates whether values in range correspond to value of time of signal, rather than row indices. This is recommended, since time values for fluorescence signals with non-uniform flow rate are also not uniform.

strength

measure of maximum offset versus baseline.

Value

Modified baseline input.

See Also

See functions beginning with sim.sample. for examples of usage.


davnovak/qctoy documentation built on Nov. 4, 2019, 9:45 a.m.