R/create_contrasts.R
contrastsFromDesign.Rd
Uses the levels defined in the column names of the design matrix to create a contrast matrix with makeContrasts.
contrastsFromDesign(desMat)
The design matrix.
A contrast matrix with all the possible pairwise comparisons.