gene.legend {exonmap}R Documentation

Add a colour bar to an X:MAP gene plot

Description

Adds a colour bar to a plot generated by plot.gene

Usage

gene.legend(x,y,w,h=1,palette,col.range,interval=100,cex=0.5,pad=h,label="colours")

Arguments

x x location of legend
y y location of legend
w width of colour bar
h height of colour bar
palette palette used to generate colour bar
col.range a range specifying left and right extents of colour bar
interval how many rectangles used to build the colour bar
cex character expansion
pad padding around the colour bar
label the label text to give the colour bar

Details

Is called by plot.gene by default. This function can be used to fine tune the positioning of the colour bar, etc. by turning off the legend plot in plot.gene and calling it directly.

Value

none

Author(s)

Crispin Miller

References

http://bioinformatics.picr.man.ac.uk/

See Also

plot.gene par

Examples






[Package exonmap version 1.0.07 Index]