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)

Arguments

states
states in model
palette
The colorbrewer palette to use

Value

A named vector with each state corresponding to a color

See also

getTrees, plotTrees