Description Usage Arguments Value Author(s) See Also Examples
Generates colors for each of the specified spots, which can be passed as
a col
argument in most plot functions.
1 2 |
slide |
Specifies for which slide the colors should be generated for. |
include |
The spot indices to be plotted. If |
exclude |
The spot indices not to be plotted. If |
palette |
The palette to be used. Currently, only the |
M.range |
The range of "normal" M values. All M values outside this range will be cutoff. |
A.range |
The range of "normal" A values. All A values outside this range will be cutoff. |
Returns a vector
of colors.
Henrik Bengtsson (http://www.braju.com/R/)
Colors
.
For more information see MAData
.
1 2 3 4 5 6 7 8 9 | # The option 'dataset' is used to annotate plots.
options(dataset="sma:MouseArray")
SMA$loadData("mouse.data")
layout <- Layout$read("MouseArray.Layout.dat", path=system.file("data-ex", package="aroma"))
raw <- RawData(mouse.data, layout=layout)
ma <- getSignal(raw, bgSubtract=TRUE)
col <- getColors(ma, slide=4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.