lmFit
.mrlm(M,design=NULL,ndups=1,spacing=1,weights=NULL,...)
M
. Defaults to the unit vector meaning that the arrays are treated as replicates.nrow(M)
must be divisible by ndups
.M
corresponding to duplicate spots, spacing=1
for consecutive spots.M
containing weights. If it is of different dimension to M
, it will be filled out to the same size. NULL
is equivalent to equal weights.rlm.default
.M
, same number of columns as design
.coef
containing the unscaled standard deviations for the coefficient estimators. The standard errors are given by stdev.unscaled * sigma
.sigma
.design
.lmFit
.
Most users should not use this function directly but should use lmFit
instead.This function fits a linear model for each gene by calling the function rlm
from the MASS library.
Warning: don't use weights with this function unless you understand how rlm
treats weights.
The treatment of weights is somewhat different from that of lm.series
and gls.series
.
rlm
.An overview of linear model functions in limma is given by 06.LinearModels.