Learn R Programming

maigesPack (version 1.36.0)

calcW: Method calcW to calculate W values

Description

Generic function calcW to calculate W values from classes of microarray data objects defined in this package.

Usage

calcW(object, ...)
"calcW"(object, ...)
"calcW"(object, bkgSub="subtract", ...)

Arguments

object
object of any class. But only some methods are defined in this moment.
bkgSub
character string indicating the type of background subtraction. May be 'none', 'subtract', 'half', 'minimum', 'movingmin', 'edwards', 'normexp' or 'rma'. Uses limma and defaults to 'subtract'.
...
additional parameters for calcW method.

Details

This method receive an object (at moment of class maiges, maigesRaw or maigesANOVA) and returns the matrix of W values. For objects of class maigesRaw it uses the function backgroundcorrect from limma package to do background correction before the calculation of W values.

See Also

backgroundcorrect in the limma package and calcA.

Examples

Run this code
## Loading the dataset
data(gastro)

calcW(gastro.raw)
calcW(gastro.norm)

Run the code above in your browser using DataLab