set_names_by_dataset: set_names_by_dataset

View source: R/set_names_by_dataset.R

set_names_by_datasetR Documentation

set_names_by_dataset

Description

the marker (e.g. colors) supplied to plotly must be in a global scheme with appropiate names (similar to a dict). This function generates the appropiate mapping, so that the color scheme can be correctly plotted.

Usage

set_names_by_dataset(lst, marker = "color", by = "group")

Arguments

lst

a data.frame or a list of data.frames that all contain the arguments 'marker' and 'by' as column names.

marker

what should be organized?

by

what should marker be organized by?

See Also

Other interactivity: make_interactive(), tabulate_markers()


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.