Description Usage Arguments Value Author(s) See Also Examples
Shift the log-ratios, log-intensities or the raw signal.
1 2 |
M,A,R,G |
A |
slides |
Slides to be shifted. If |
Returns nothing.
Henrik Bengtsson (http://www.braju.com/R/)
For more information see MAData
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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)
subplots(4)
xlim <- c(4,16); ylim <- c(-3,3);
plot(ma, xlim=xlim, ylim=ylim)
min1 <- function(x) { min(x)-1 } # Shift to signal one (not zero!)
shift(ma, R=min, G=min)
plot(ma, xlim=xlim, ylim=ylim)
shift(ma, M=median)
plot(ma, xlim=xlim, ylim=ylim)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.