Produces a color vector for items by using a design matrix.
createColorVectorsByDesign(design_matrix, hsv = TRUE, offset = NULL)Produces a list with the following items
The colors of the observations (based on group)
The colors of the groups
A dummy coded design matrix.
a boolean. If TRUE, use
prettyGraphsHSVColorSelection. If FALSE, use
prettyGraphsColorSelection.
numeric. An offset value to be passed to
prettyGraphsHSVColorSelection or
prettyGraphsColorSelection.
Derek Beaton