calcA {maigesPack} | R Documentation

## Method calcA to calculate A values

### Description

Generic function `calcA` to calculate A values from classes of microarray data objects defined in this package.

### Usage

    calcA(object, ...)

    ## Default S3 method:
    calcA(object, ...)

    ## S3 method for class 'maigesRaw'
    calcA(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 `calcA` method.

### Details

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

### Author(s)

Gustavo H. Esteves <gesteves@vision.ime.usp.br>

### See Also

`backgroundcorrect` in the limma package and `calcW`.

### Examples

    ## Loading the dataset
    data(gastro)

    calcA(gastro.raw)
    calcA(gastro.norm)

[Package maigesPack version 1.56.0 Index]