plotCtDensity {HTqPCR} | R Documentation

## Distribution plot for qPCR Ct values.

### Description

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

### Usage

    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

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

[Package HTqPCR version 1.40.0 Index]