shift.RawData: Shift the log-ratios, log-intensities or the raw signal

Description Usage Arguments Value Author(s) See Also Examples

Description

Shift the log-ratios, log-intensities or the raw signal.

Usage

1
2
## S3 method for class 'RawData'
shift(this, M=NULL, A=NULL, R=NULL, G=NULL, Rb=NULL, Gb=NULL, slides=NULL, ...)

Arguments

M,A,R,G,Rb,Gb

A numeric or function specifying the shift to be applied to the log-ratios, the log-intensities, the red, and/or the green foreground or background signals. If more than one of these are shifted at the same time, they are shifted in the order M, A, R, G, Rb and Gb. A numeric specify the amount of shift. If a function, e.g. min(), is used, then the amount of shift is the value returned by that function when all finite values are passed to that function, e.g. min(x[is.finite(x)]). In other words, NA's etc are automatically taken care of.

slides

Slides to be shifted. If NULL, all slides are shifted.

Value

Returns nothing.

Author(s)

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

See Also

For more information see RawData.

Examples

1
## Not run: See shift() for the MAData class for an example.

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