Learn R Programming

dowser (version 2.2.0)

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

See Also

getTrees, plotTrees