as.RGData.MAData: Transform MA format into RG format

Description Usage Arguments Value Author(s) See Also Examples

Description

Transform from log ratios and intensities to the red and green intensities. Background fields are set to zero.

Usage

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

Arguments

slides

Subset of slides to be returned. If NULL, all slides are returned.

Value

Returns a RGData object.

Author(s)

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

See Also

RGData.as.MAData. For more information see MAData.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  # 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)
  rg <- getSignal(raw, bgSubtract=TRUE)
  ma <- as.MAData(rg)
  rg2 <- as.RGData(ma)
  equal <- equals(rg, rg2)

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