multiDensity {BeadExplorer} | R Documentation

## Plot multiple density functions

### Description

Plot multiple density functions on the same graph

### Usage

    multiDensity(data, xlab = "", ylab = "", main = "", log = TRUE, legend = TRUE, col = rainbow(ncol(data)),
    position = "topright", xlim = c(min(ox), max(ox)), ylim = c(min(oy), max(oy)), ...)

### Arguments

`data` | A matrix of values
`xlab` | A character label for the x-axis
`ylab` | A character label for the y-axis
`main` | A character label for the main title
`log` | Logical, specifying if log axes should be used
`legend` | Logical, specifying if a legend should be drawn
`col` | A vector of colours used to draw each sample
`position` | Position of the legend , see `legend`
`xlim` | A vector specifying the limits of the x-axis
`ylim` | A vector specifying the limits of the y-axis
`...` | Arguments passed to `plot`

### Details

A density plot of each sample in the matrix is plotted on the same graph

### Value

None

### Note

### Author(s)

Gareth Elvidge gareth.elvidge@well.ox.ac.uk

### See Also

See Also as `help`

### Examples

    data(examplebeadData)
    ndata<-normalise(examplebeadData)
    multiDensity(exprs(ndata))

[Package BeadExplorer version 1.4.0 Index]