Uses the levels defined in the column names of the design matrix to create a contrast matrix with makeContrasts.

contrastsFromDesign(desMat)

Arguments

desMat

The design matrix.

Value

A contrast matrix with all the possible pairwise comparisons.