get_legend {sgraph} | R Documentation |
Get the legend for a sgraph network
Description
Get the legend for a sgraph network
Usage
get_legend(colors_map, clusters)
Arguments
colors_map |
Color mapping to use, typically built by 'get_color_map' |
clusters |
Group names |
Value
Ggplot object
[Package sgraph version 1.1.0 Index]