Learn R Programming

Mfuzz (version 2.32.0)

mfuzzColorBar: Plots a colour bar

Description

This function produces a (separate) colour bar for graphs produced by mfuzz.plot

Usage

mfuzzColorBar(col, horizontal=FALSE,...)

Arguments

col
vector of colours used. If missing, the same vector as the default vector for mfuzz.plot is used. If col="fancy", an alternative color palette is used (see mfuzz.plot2.
horizontal
If TRUE, a horizontal colour bar is generated, otherwise a vertical one will be produced.
...
additional parameter passed to maColorBar (see also example in mfuzz.plot2)

See Also

maColorBar

Examples

Run this code
if (interactive()){
 X11(w=1.5,h=5);
 par(mar=c(1,1,1,5))
 mfuzzColorBar()
 mfuzzColorBar(col="fancy",main="Membership value")
}

Run the code above in your browser using DataLab