make_simplified_contrast_matrix | R Documentation |
I rather like makeContrasts() from limma. I troubled me to have to manually create a contrast matrix when using MSstats. It turns out it troubled me for good reason because I managed to reverse the terms and end up with the opposite contrasts of what I intended. Ergo this function.
make_simplified_contrast_matrix(numerators, denominators)
numerators |
Character list of conditions which are the numerators of a series of a/b comparisons. |
denominators |
Character list of conditions which are the denominators of a series of a/b comparisons. |
Feed make_simplified_contrast_matrix() a series of numerators and denominators names after the conditions of interest in an experiment and it returns a contrast matrix in a format acceptable to MSstats.
Contrast matrix suitable for use in tools like MSstats.
[MSstats]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.