Learn R Programming

sgraph (version 1.1.0)

get_legend: Get the legend for a sgraph network

Description

Get the legend for a sgraph network

Usage

get_legend(colors_map, clusters)

Value

Ggplot object

Arguments

colors_map

Color mapping to use, typically built by `get_color_map`

clusters

Group names