designI2M(design)
designI2A(design)
design
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 designI2M(design)
or 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.model.matrix
in the stats package.
An overview of individual channel linear model functions in limma is given by 07.SingleChannel.X <- cbind(1,c(1,1,1,1,0,0,0,0),c(0,0,0,0,1,1,1,1))
designI2M(X)
designI2A(X)
Run the code above in your browser using DataLab