mfuzzColorBar: Plots a colour bar

Description Usage Arguments Author(s) See Also Examples

View source: R/mfuzzColorBar.R

Description

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

Usage

1
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)

Author(s)

Matthias E. Futschik (http://itb.biologie.hu-berlin.de/~futschik)

See Also

maColorBar

Examples

1
2
3
4
5
6
if (interactive()){
 X11(w=1.5,h=5);
 par(mar=c(1,1,1,5))
 mfuzzColorBar()
 mfuzzColorBar(col="fancy",main="Membership value")
}

Mfuzz documentation built on May 31, 2017, 10:59 a.m.

Search within the Mfuzz package
Search all R packages, documentation and source code