TRANSFORM RTCA DATA WITH INTERPOLATION

Share:

Description

Interpolate RTCA data

Usage

1
interpolationTransform(object, interval=0.01, method=c("linear","constant","fmm","periodic","natural", "monoH.FC"))

Arguments

object

An RTCA object

...

other parameters, interval and method are implemented, see below

interval

numeric, the interval between interpolated points, set to 0.01 by default

method

character, specifying the method for interpolation, “linear” by default (for linear interpolation). Allowed options are: “linear” and “constant” for approx interpolation, and “fmm”, “periodic”, “natural” and “monoH.FC” for cubic spline interpolation

Details

Since most RTCA experiements record the experiments in the irregular time-series, sometimes however it is desired to have regular intervals. interpolationTransform interpolate between data points to estimate results of regular intervals.

Two classes of interpolations are supported by now: linear (using approx) and cubic spline (spline) interpolation. By default linear interpolation is used.

Value

An interpolated object of RTCA.

Author(s)

Jitao David Zhang jitao_david.zhang@roche.com

See Also

rgrTransform stands for relative growth rate transformation, ratioTransform for ratio normalization adopted by Roche commercial software. smoothTransform to smooth the RTCA readout.

Examples

1
2
3
4
5
6
require(RTCA)
  
ofile <- system.file("/extdata/testOutput.csv", package="RTCA")
x <- parseRTCA(ofile)

xInter <- interpolationTransform(x)