Plots a colour bar

Share:

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")
}

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.