MSstatsContrastMatrix: Create a contrast matrix for groupComparison function

View source: R/utils_groupcomparison_contrasts.R

MSstatsContrastMatrixR 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)


MeenaChoi/MSstats documentation built on Nov. 10, 2024, 2:43 p.m.