getPalette: Get a color palette for a predefined set of trait values.
'Germline' defaults to black unless specified.
Description
getPalette
Gets a color palette for a predefined set of trait values
Usage
getPalette(states, palette)
Value
A named vector with each state corresponding to a color
Arguments
- states
states in model
- palette
The colorbrewer palette to use