Description Usage Arguments Details Value Note Author(s) See Also Examples
Graph xy plot of variables using s.var, s.groups or s.match.col. Useful for visualising array coordinates (\$li) resulting from ord, bga or cia of microarray data.
1 2 3 |
coord |
a |
axis1 |
An integer, the column number for the x-axis. Default is 1, so axes 1 is dudivar[,1] |
axis2 |
An integer, the column number for the y-axis. Default is 2, so axes 2 is dudivar[,2] |
arraylabels |
A vector of variables labels. Default is row.names(coord) |
classvec |
A |
graph |
A character of type "groups", "simple", "labels", "groups2", "coinertia" or "coinertia2" which specifies the type of plot type or "graph" to be drawn. By default the graph will be selected depending on the class of cooord, and whether a classvector is specified |
labelsize |
Size of sample labels, by default=1 |
star |
If drawing groups, whether to join samples to centroid creating a "star" |
ellipse |
If drawing groups, whether to draw an ellipse or ring around the samples |
arraycol |
Character with length equal to the number of levels in the factor classvec. Colors for each of the levels in the factor classvec |
... |
further arguments passed to or from other method |
plotarrays
calls the function s.var
, s.groups
or s.match.col
.
If you wish to return a table or list of the top array at
the end of an axis, use the function topgenes
.
An xy plot
plotarrays
plots variables using s.var
, s.groups
,
s.match.col
which are modifieds version
of s.label
, s.class
. , and
s.match
.
Aedin Culhane
1 2 3 4 5 6 7 8 9 10 11 | data(khan)
if (require(ade4, quiet = TRUE)) {
khan.bga<-bga(khan$train, khan$train.classes)
}
attach(khan.bga)
par(mfrow=c(2,1))
plotarrays(khan.bga)
plotarrays(khan.bga, graph="simple")
plotarrays(khan.bga, graph="labels")
plotarrays(khan.bga, graph="groups")
plotarrays(khan.bga, graph="groups2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.