Description Usage Arguments Details Value Author(s) See Also Examples

Condense a microarray data object so that technical replicate arrays are replaced with (weighted) averages.

1 2 3 4 5 6 |

`x` |
a matrix-like object, usually a matrix, |

`ID` |
sample identifier. |

`weights` |
numeric matrix of non-negative weights |

A new data object is computed in which technical replicate arrays are replaced by their (weighted) averages.

For an `MAList`

object, the components `M`

and `A`

are both averaged in this way, as are `weights`

and any matrices found in `object$other`

.

`EList`

objects are similar, except that the `E`

component is averaged instead of `M`

and `A`

.

If `x`

is of mode `"character"`

, then the replicate values are assumed to be equal and the first is taken as the average.

A data object of the same class as `x`

with a column for each unique value of `ID`

.

Gordon Smyth

02.Classes gives an overview of data classes used in LIMMA.

1 2 3 |

```
a b
[1,] 0.06818442 0.1725134
[2,] 0.39106518 1.6426725
[3,] -0.74722260 0.3671410
[4,] 0.71964981 -0.3534182
[5,] 0.63591556 0.1816293
[6,] -0.44054880 -0.2362331
[7,] -0.11815876 1.1829985
[8,] -0.24357897 -1.0567411
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.