get_color_dataframe_from_input {ChromSCape} | R Documentation

## Get color dataframe from shiny::colorInput

### Description

Get color dataframe from shiny::colorInput

### Usage

    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.

[Package ChromSCape version 1.2.62 Index]