Learn R Programming

chipPCR (version 1.0-2)

rounder: Round der objects

Description

inder calculates numeric derivatives on smoothed data which results in data points not observable in reality. The rounder function averages such result to the real values of cycle number.

Usage

rounder(object, cyc = 1)

Arguments

object

a class '>der object.

cyc

a column containing cycle numbers after smoothing. In case of objects created by the inder function, it is the first column.

Value

An object of the class '>der containing cycle number and averaged values of the fluorescence, first derivative and second derivative.

See Also

inder, '>der

Examples

Run this code
# NOT RUN {
isPCR <- AmpSim(cyc = 1:40)
res <- inder(isPCR)
rd <- rounder(res)
plot(rd)

# }

Run the code above in your browser using DataLab