Description Usage Arguments Value Author(s) References See Also Examples
This function may be used to add a legend for lines in plots such as those produced by plot
, maPlot
, or maPlot.func
.
1 | maLegendLines(legend="", col=2, lty=1, lwd=2.5, ncol=1, ...)
|
legend |
A vector of "character" strings to appear in the legend. |
col |
Line colors for the legend. |
lty |
Line types for the legend. |
lwd |
Line widths for the legend. |
ncol |
The number of columns in which to set the legend items (default is 1, a vertical legend). |
... |
Optional graphical parameters, see |
A function with bindings for legend
, col
, lty
, lwd
, ncol
, and ...
. This latter function takes as arguments x
and y
, the coordinates for the location of the legend on the plot, and it adds the legend to the current plot.
Sandrine Dudoit, http://www.stat.berkeley.edu/~sandrine.
S. Dudoit and Y. H. Yang. (2002). Bioconductor R packages for exploratory analysis and normalization of cDNA microarray data. In G. Parmigiani, E. S. Garrett, R. A. Irizarry and S. L. Zeger, editors, The Analysis of Gene Expression Data: Methods and Software, Springer, New York.
1 | # See examples for maPlot.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.