Description Usage Arguments Details Author(s) See Also Examples
Draws diagnostic plots of amplification reaction.
1 2 3 4 |
x |
is a |
what |
is a vector specifying what should be plotted. |
add |
is a |
indicators |
is a |
legend |
is a |
stan.labs |
is a |
plot.colors |
is a vectors of colors used in plot. Must have length 3. |
... |
Arguments to be passed further to the plot function, such as graphical parameters. |
plot.bg
is simplified, ready-to-use version of
plot.der
, which still can be used whenever more
flexible function is needed.
Stefan Roediger, Michal Burdukiewicz
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #step-by-step plotting bg object
res <- AmpSim(cyc = 1:40, Cq = 25)
background <- bg.max(res)
plot(background)
#above is equivalent of below
plot(rounder(inder(res)), xlab = "Cycles",
ylab = "Fluorescence",
pch = 20, legend = FALSE)
abline(v = slot(background, "bg.start"))
text(slot(background, "bg.start"), 0.2, "Background start", pos = 4)
abline(v = slot(background, "bg.stop"), col = "blue")
text(slot(background, "bg.stop"), 0.25, "Background stop", pos = 4,
col = "blue")
abline(v = slot(background, "amp.stop"), col = "green")
text(slot(background, "amp.stop"), 0.3, "Plateau transition", pos = 4,
col = "green")
legend(4, 1, c("Raw data", "First derivative", "Second derivative"),
pch = rep(20, 3), col = c(1, 2, 4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.