getRawData.ScanAlyzeData: Gets the raw (foreground and background) intensites

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Extracts the red and green spot intensitites (both foreground and background) and returns a RawData object.

Usage

1
2
## S3 method for class 'ScanAlyzeData'
getRawData(this, slides=NULL, fg=c("auto"), bg=("auto"), ...)

Arguments

slides

Specifying which slides to be extracted. If NULL, all slides are considered.

fg

If "auto", the default foreground estimates according to *getForeground() is returned.

bg

If "auto", the default foreground estimates according to *getBackground() is returned.

Details

The R and Rb channels will come from the CH2* fields, and the G and Gb channels will come from the CH1* fields. To swap the channels just use dyeSwap().

Value

Returns a RawData object containing the specified slides.

Author(s)

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

See Also

For more information see ScanAlyzeData.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  sa <- ScanAlyzeData$read("group4.dat", path=system.file("data-ex", package="aroma"))

  # Get the foreground and the background
  raw <- getRawData(sa)

  # The the background corrected data
  ma <- getSignal(raw, bgSubtract=FALSE)

  # Plot M vs A with a lowess line through the data points
  plot(ma, slide=1)
  lowessCurve(ma, lwd=2, gridwise=TRUE)

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