Description Usage Arguments Value
Transforms a design matrix to a contrast matrix. Instead of calculating the contrast result directly, as in mwlsr.contrastTest, this method would be used to create "reduced" model with a contrast matrix and then you can evaluate significant associations with and LRT. The code for this function is based on code within edgeR::glmLRT.
1 | mwlsr.contrastModelMatrix(design, contrast)
|
design |
Full design matrix |
contrast |
Single column contrast matrix indicating which levels of the full design to contrast against one other. |
New, reduced, design matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.