Description Usage Arguments Details Value Author(s) See Also Examples
Reform a design matrix so that one or more coefficients from the new matrix correspond to specified contrasts of coefficients from the old matrix.
1  | contrastAsCoef(design, contrast=NULL, first=TRUE)
 | 
design | 
 numeric design matrix.  | 
contrast | 
 numeric matrix with rows corresponding to columns of the design matrix (coefficients) and columns containing contrasts. May be a vector if there is only one contrast.  | 
first | 
 logical, should coefficients corresponding to contrasts be the first columns (  | 
If contrast doesn't have full column rank, then superfluous columns are dropped.
A list with components
design | 
 reformed design matrix  | 
coef | 
 columns of design matrix which hold the meaningful coefficients  | 
qr | 
 QR-decomposition of contrast matrix  | 
Gordon Smyth
model.matrix in the stats package.
An overview of linear model functions in limma is given by 06.LinearModels.
1 2 3 4 5 6 7 8 9 10  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.