Fit Linear Model to Microrray Data by Robust Regression
Fit a linear model genewise to expression data from a series of arrays.
The fit is by robust M-estimation allowing for a small proportion of outliers.
This is a utility function for lmFit
.
mrlm(M,design=NULL,ndups=1,spacing=1,weights=NULL,...)
M |
numeric matrix containing log-ratio or log-expression values for a series of microarrays, rows correspond to genes and columns to arrays. |
design |
numeric design matrix defining the linear model, with rows corresponding to arrays and columns to comparisons to be estimated. The number of rows must match the number of columns of |
ndups |
a positive integer giving the number of times each gene is printed on an array. |
spacing |
the spacing between the rows of |
weights |
numeric matrix of the same dimension as |
... |
any other arguments are passed to |
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
.
A list with components
coefficients |
numeric matrix containing the estimated coefficients for each linear model. Same number of rows as |
stdev.unscaled |
numeric matrix conformal with |
sigma |
numeric vector containing the residual standard deviation for each gene. |
df.residual |
numeric vector giving the degrees of freedom corresponding to |
qr |
QR decomposition of |
Gordon Smyth
rlm
.
An overview of linear model functions in limma is given by 06.LinearModels.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.