MSstatsContrastMatrix {MSstats} | R Documentation

## Create a contrast matrix for groupComparison function

### Description

Create a contrast matrix for groupComparison function

### Usage

    MSstatsContrastMatrix(contrasts, conditions, labels = NULL)

### Arguments

`contrasts` | One of the following: i) list of lists. Each sub-list consists of two vectors that name conditions that will be compared. See the details section for more information ii) matrix. In this case, it's correctness will be checked iii) "pairwise". In this case, pairwise comparison matrix will be generated iv) data.frame. In this case, input will be converted to matrix
`conditions` | unique condition labels
`labels` | labels for contrasts (row.names of the contrast matrix)

[Package MSstats version 4.0.1 Index]