plotCtDensity: Distribution plot for qPCR Ct values.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plotCtDensity.R

Description

Function for plotting the density distribution of Ct values from high-throughput qPCR data.

Usage

1
plotCtDensity(q, cards = TRUE, xlab = "Ct", ylab = "Density", col, main = NULL, legend = TRUE, lwd = 2, ...)

Arguments

q

object of class qPCRset.

cards

vector, the numbers of the cards to plot. Defaults to TRUE = all cards.

xlab

character string, label for the x-axis.

ylab

character string, label for the y-axis.

col

vector of colours to use, defaults to different colour for each card.

main

character string, plot title.

legend

logical, whether to include a colour legend or not.

lwd

numeric, the width of the lines.

...

any other arguments will be passed to the matplot function.

Details

The distribution of Ct values in the qPCRset q is calculated using density.

Value

A plot is created on the current graphics device.

Author(s)

Heidi Dvinge

See Also

matplot, density

Examples

1
2
3
4
5
# Loading the data
data(qPCRraw)
# Make plot with all samples or just a few
plotCtDensity(qPCRraw)
plotCtDensity(qPCRraw, cards=c(1,4))

HTqPCR documentation built on Nov. 1, 2018, 2:23 a.m.