plotCtHistogram: Histrogram of Ct values from qPCR experiments.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plotCtHistogram.R

Description

The distribution of Ct values for a selected qPCR sample is shown in a histogram.

Usage

1
plotCtHistogram(q, card = 1, xlab = "Ct", col, main, n = 30, ...)

Arguments

q

an object of class qPCRset.

card

integer, the number of the card (sample) to plot.

xlab

character string, the label for the x-axis.

col

integer or character, the colour for the histogram.

main

character string, the plot title. Default is the name of the sample.

n

integer, number of bins to divide the Ct values into.

...

any other arguments are passed to hist.

Value

A figure is generated in the current graphics device.

Author(s)

Heidi Dvinge

See Also

plotCtDensity or plotCtBoxes for including multiple samples in the same plot.

Examples

1
2
3
4
5
# Load example data
data(qPCRraw)
# Create the plots
plotCtHistogram(qPCRraw, card=2)
plotCtHistogram(qPCRraw, card=3, n=50, col="blue")

Example output

Loading required package: Biobase
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: 'BiocGenerics'

The following objects are masked from 'package:parallel':

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from 'package:stats':

    IQR, mad, sd, var, xtabs

The following objects are masked from 'package:base':

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, colMeans, colSums, colnames, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
    pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
    setdiff, sort, table, tapply, union, unique, unsplit, which,
    which.max, which.min

Welcome to Bioconductor

    Vignettes contain introductory material; view with
    'browseVignettes()'. To cite Bioconductor, see
    'citation("Biobase")', and for packages 'citation("pkgname")'.

Loading required package: RColorBrewer
Loading required package: limma

Attaching package: 'limma'

The following object is masked from 'package:BiocGenerics':

    plotMA

Warning message:
In read.dcf(con) :
  URL 'http://bioconductor.org/BiocInstaller.dcf': status was 'Couldn't resolve host name'

HTqPCR documentation built on Nov. 8, 2020, 6:51 p.m.