getVariance {beadarray} | R Documentation

## Gets the bead-type variances from an ExpressionSetIllumina Object

### Description

Calculates the variance for each bead-type on each array from an `ExpressionSetIllumina` object.

### Usage

    getVariance(object, offset=0)

### Arguments

`object` | `ExpressionSetIllumina` object
`offset` | numeric value to add to the variances to avoid very small values

### Details

`getVariance` uses the `se.exprs` and `NoBeads` slots in `assayData` to calculate the variances for each bead-type on each array.

### Value

A matrix containing the variances.

### Author(s)

Matt Ritchie

### Examples

    data(BSData)
    v = getVariance(BSData)
    boxplot(as.data.frame(log2(v)), ylab="log2var", xlab=colnames(BSData), las=2)

[Package beadarray version 1.8.0 Index]