get_color_map: Build a color map

get_color_mapR Documentation

Build a color map

Description

Build a color map

Usage

get_color_map(colors, palette = RColorBrewer::brewer.pal(8, "Dark2"))

Arguments

colors

Groups that will be assigned to colors

palette

Palette to use, typically a RColorBrewer palette

Value

Data frame mapping group names to colors


sgraph documentation built on Sept. 12, 2024, 7:06 a.m.