Convert a design matrix in terms of individual channels to ones in terms of M-values or A-values for two-color microarray data.
numeric model matrix with one row for each channel observation, i.e., twice as many rows as arrays
design is a model matrix suitable for modelling individual log-intensities for two color microarray data, then
designI2M computes the corresponding model matrix for modelling M-values (log-ratios) and
designI2A computes the model matrix for modelling A-values (average log-intensities).
Note that the matrices
designI2A(design) may be singular if not all of the coefficients are estimable from the M or A-values.
In that case there will be columns containing entirely zeros.
numeric model matrix with half as many rows as
model.matrix in the stats package.
An overview of individual channel linear model functions in limma is given by 07.SingleChannel.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.