Description Usage Arguments Author(s) See Also Examples
Puts labels to the spots in last plot.
1 2 |
include |
The indices of the spots that should be included.
If it is instead a name of one or more flags, the spots which have been
flagged with these flags are considered.
If |
exclude |
The indices of the spots that should be excluded.
If it is instead a name of one or more flags, the spots which have been
flagged with these flags are excluded.
If |
labels |
Labels of all the data points. If |
col |
The color(s) to be used for the plotted spots, i.e. for the spots after inclusion and exclusion. |
pos |
A position specifier for the text. Values of |
offset |
When ‘pos’ is specified, this value gives the offset of the label from the specified coordinate in fractions of a character width. |
xpd |
A logical value or |
... |
Common arguments accepted by most text labeling functions.
For more information see |
Henrik Bengtsson (http://www.braju.com/R/)
*plotXY()
.
*plotSpatial()
.
*highlight()
.
text
.
For more information see MicroarrayData
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Loads the file 'gpr123.gpr' located in the data directory:
gpr <- GenePixData$read("gpr123.gpr", path=system.file("data-ex", package="aroma"))
raw <- getRawData(gpr);
ma <- getSignal(raw)
# Highlight and label the first 50 genes
idx <- 1:50
plot(ma)
# Highlight all spots in grid (1,2)
highlight(ma, idx, col="purple")
# Add bold faced labels using the labels specified by the layout
text(ma, idx, font=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.