plotMarginals: Density plots of per-platform marginal distributions

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

1
2
3
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

1
2
3
4
5
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"))

timpeters82/consensus documentation built on May 23, 2020, 12:45 a.m.