Learn R Programming

chipPCR (version 1.0-2)

plot.der: Plot der objects

Description

Plots interpolated derivatives.

Usage

# S4 method for der
plot(x, what = 1:3, add = FALSE, legend = TRUE, 
        plot.colors = c("black", "red", "blue"), ...)

Arguments

x

is a '>der object.

what

is a vector specifying what should be plotted. 1 means raw data, 2 means first derivative and 3 means second derivative. Any combination of mentioned values is valid, for example: c(1,2), c(1, 2, 3), c(2, 3). See Details and Examples.

add

is a "logical" argument. If TRUE, plot is added to existing plot.

legend

is a "logical" argument. If TRUE, legend is added to the plot.

plot.colors

is a vectors of colors used in plot. Must have length 3 for the original function, first, and second derivative, respectively.

...

Arguments to be passed further to the plot function, such as graphical parameters.

See Also

'>der

Examples

Run this code
# NOT RUN {
res <- inder(AmpSim(cyc = 1:40, Cq = 25))
plot(res)
#round the result of inder
plot(rounder(res))

# }

Run the code above in your browser using DataLab