customLegend: Build a legend of colored label text.

Description Usage Arguments Value

View source: R/plotting.R

Description

Build a legend of colored label text.

Usage

1
customLegend(labs, col, halfRange)

Arguments

labs

Text vector containing all labels.

col

Color vector containing corresponding colors.

halfRange

Half range parameter used in the plot (for positioning)

Value

Vector of list to use as annotation in a plotly layout call for generating the custom legend.


uschiLaa/galahr documentation built on March 16, 2020, 6:23 p.m.