swapDyes.MAData: Dye swap one or many slides

Description Usage Arguments Value Author(s) See Also Examples

Description

Dye swap one or many slides.

Usage

1
2
## S3 method for class 'MAData'
swapDyes(this, slides=NULL, ...)

Arguments

slides

A vector of slides to be dye swapped. If NULL, all slides are considered.

Value

Returns itself.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

For more information see MAData.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
  # 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)
  rg <- as.RGData(ma)

  # Dye swap every other slide.
  swapDyes(ma, slides=c(4,5,6))

  layout(matrix(1:6, nrow=2, ncol=3, byrow=TRUE));
  for (k in 1:6)
    plot(ma, slide=k)

HenrikBengtsson/aroma documentation built on May 7, 2019, 12:56 a.m.