lumiB {lumi} | R Documentation

## Background correction of Illumina data

### Description

Background correction of Illumina data

### Usage

    lumiB(lumiBatch, method = c('none', 'bgAdjust', 'forcePositive', 'bgAdjust.affy'), ...)

### Arguments

`lumiBatch` | a LumiBatch Object, which can be the return of `lumiR`
`method` | the background correction method, it can be any function with a LumiBatch Object as the first argument and return a LumiBatch Object
`...` | other parameters used by the user provided background correction method

### Details

We assume the BeadStudio output data is background corrected. So by default, it will do nothing. The 'bgAdjust' method will estimate the background based on the control probe information, which is kept in the controlData slot of LumiBatch object. The 'forcePositive' method will force all expression values to be positive by adding an offset (minus minimum value plus one), it does nothing if all expression values are positive. The purpose of this is to avoid NA when do logarithm transformation. 'none' does not but return the LumiBatch object. 'bgAdjust.affy' will call the `bg.adjust` function in affy package. User can also provide their own function with a LumiBatch Object as the first argument and return a LumiBatch Object with background corrected.

Thanks Kevin Coombes (M.D. Anderson Cancer Center) suggested adding this function.

### Value

return a LumiBatch Object with background corrected.

### Author(s)

Pan Du, Kevin Coombes

### See Also

`bgAdjust`, `lumiExpresso`

### Examples

    ## load example data
    data(example.lumi)

    ## Do the default background correction method
    lumi.B <- lumiB(example.lumi, method='bgAdjust', probs=0)

[Package lumi version 1.4.0 Index]