pca.legend {affycoretools} | R Documentation |
This function places a legend in a PCA plot depending on which corner is available. If there are no available corners, user intervention will be required. This is an internal function and not intended to be called by the end user.
pca.legend(pca, groupnames, pch, col, x.coord = NULL, y.coord = NULL, saveup = FALSE)
pca |
A 'pca' object |
groupnames |
A vector of names describing the different groups |
pch |
A numeric vector delineating the plotting symbols to use |
col |
A numeric or character vector delineating the colors to use for the plotting symbols |
x.coord |
X-coordinate for legend. Used if automatic placement will fail |
y.coord |
Y-coordinate for legend. Used if automatic placement will fail |
saveup |
Boolean: Save a small value for plotting additional text? |
This function returns nothing. It is used only for the side effect of placing a legend in a plot.
James W. MacDonald <jmacdon@med.umich.edu>