get_color_map {sgraph} | R 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
[Package sgraph version 1.1.0 Index]