get_color_dataframe_from_input: Get color dataframe from shiny::colorInput

Description Usage Arguments Value

View source: R/plotting_functions.R

Description

Get color dataframe from shiny::colorInput

Usage

1
2
3
4
5
6
get_color_dataframe_from_input(
  input,
  levels_selected,
  color_by = c("sample_id", "total_counts"),
  input_id_prefix = "color_"
)

Arguments

input

Shiny input object

levels_selected

Names of the features

color_by

Which feature color to retrieve

input_id_prefix

Prefix in front of the feature names

Value

A data.frame with the feature levels and the colors of each level of this feature.


ChromSCape documentation built on Nov. 8, 2020, 6:57 p.m.