plotDensity: Function to create a density plot

Description Usage Arguments Value Author(s) Examples

View source: R/plotDensity.R

Description

Simple density plot. Adapted from the aroma.affymetrix package (www.aroma-project.org)

Usage

1
2
plotDensity(x, xlim = c(0, 16), ylim, col, lty, lwd, add = FALSE, xlab,
  ylab, log = TRUE, ...)

Arguments

x

Matrix with numeric values.

xlim

The limits for the x axis.

ylim

The limits for the y axis.

col

Vector with colors corresponding to the columns of the matrix.

lty

The line type (see graphics).

lwd

The line width, a positive number, defaulting to 1 (see graphics).

add

If FALSE (the default) then a new plot is produced. If TRUE, density lines are added to the open graphics device.

xlab

The labeling of the x axis.

ylab

The labeling of the y axis.

log

Logical values which states if the log2 should be taken from the data.

...

Further arguments of the plot function '

Value

A plot written to the graphics device.

Author(s)

Djork-Arne Clevert okko@clevert.de and Andreas Mitterecker mitterecker@bioinf.jku.at

Examples

1
2
load(system.file("exampleData/slData.RData", package = "cn.farms"))
plotDensity(assayData(slData)$intensity)

cn.farms documentation built on Nov. 8, 2020, 7:59 p.m.