plotMarginals {consensus} | R Documentation

## Density plots of per-platform marginal distributions

### Description

Plots a series of marginal densities for each platform for either (a) average, (b) sensitivity or (c) precision.

### Usage

    plotMarginals(consfit,
    	      param=c("average", "sensitivity", "precision"),
    	      pal=palette(), xlim=NULL, ...)

### Arguments

`consfit` | An object of class `ConsensusFit`.
`param` | Whether average (a_i), sensitivity (b_i) or precision (d_i) is plotted.
`pal` | Colour palette. Length must be at least the number of platforms/conditions.
`xlim` | Range of values to be plotted. If `NULL` then the entire density is plotted.
`...` | Extra arguments passed to `legend()`.

### Details

Precision is plotted on the log scale.

### Value

A plot to the current device.

### Author(s)

Tim Peters <t.peters@garvan.org.au>

### Examples

    data("TCGA")
    tcga_mm <- MultiMeasure(names=c("U133A", "Huex", "Agilent", "RNASeq"),
    			data=list(U133A, Huex, Agilent, RNASeq))
    fit <- fitConsensus(tcga_mm)
    plotMarginals(fit, "sensitivity", brewer.pal(n = 4, name = "Dark2"))

[Package consensus version 1.2.2 Index]