Description Usage Arguments Value Functions Author(s) Examples
This function makes a PCA plot from an ExpressionSet or matrix
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | ## S4 method for signature 'matrix'
plotPCA(
object,
groups = NULL,
groupnames = NULL,
addtext = NULL,
x.coord = NULL,
y.coord = NULL,
screeplot = FALSE,
squarepca = FALSE,
pch = NULL,
col = NULL,
pcs = c(1, 2),
legend = TRUE,
main = "Principal Components Plot",
plot3d = FALSE,
outside = FALSE,
...
)
## S4 method for signature 'ExpressionSet'
plotPCA(object, ...)
|
object |
An |
groups |
A numeric |
groupnames |
A character |
addtext |
A character |
x.coord |
Pass an x-coordinate if automatic legend placement fails |
y.coord |
Pass a y-coordinate if automatic legend placement fails. |
screeplot |
Boolean: Plot a |
squarepca |
Should the y-axis of the PCA plot be made comparable to the
x-axis? This may aid in interpretation of the PCA plot. Defaults to
|
pch |
A numeric |
col |
A numeric or character |
pcs |
A character |
legend |
Boolean. Should a legend be added to the plot? Defaults to
|
main |
A character |
plot3d |
Boolean. If |
outside |
Boolean. If |
... |
Further arguments to be passed to |
This function returns nothing. It is called only for the side effect of producing a PCA plot or screeplot.
plotPCA,ExpressionSet-method
:
James W. MacDonald <jmacdon@u.washington.edu>
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.