avedups {limma} | R Documentation |
Condense a microarray data object so that values for within-array replicate spots are replaced with their average.
## Default S3 method: avedups(x, ndups=2, spacing=1, weights=NULL) ## S3 method for class 'MAList': avedups(x, ndups=x$printer$ndups, spacing=x$printer$spacing, weights=x$weights)
x |
a matrix-like object, usually a matrix or an MAList object. |
ndups |
number of within-array replicates for each probe. |
spacing |
number of spots to step from a probe to its duplicate. |
weights |
numeric matrix of spot weights. |
A new data object is computed in which each probe is represented by the (weighted) average of its duplicate spots.
For a MAList
object, the components M
and A
are both averaged in this way.
If x
is of mode "character"
, then the duplicate values are assumed to be equal and the first is taken as the average.
A data object of the same class as x
with 1/ndups
as many rows.
Gordon Smyth
dimnames
in the base package.
02.Classes gives an overview of data classes used in LIMMA.