R/design_contrast.R
assertDesignContrast.Rd
Check dimensionality of both design and contrast matrix
assertDesignContrast(nsample, design, contrast)
Integer, number of samples
Design matrix
Contrast matrix
Side effect is used: the function stops if there are errors in the dimensionalities