gene.legend {exonmap} | R Documentation |
Adds a colour bar to a plot generated by plot.gene
gene.legend(x,y,w,h=1,palette,col.range,interval=100,cex=0.5,pad=h,label="colours")
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 |
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.
none
Crispin Miller
http://bioinformatics.picr.man.ac.uk/