Description Usage Arguments Value
View source: R/columnSelector.R
columnSelector module server logic
1 2 3 4 5 6 7 8 9 10 11 12 13 |
input |
Shiny's input object |
output |
Shiny's output object |
session |
Shiny's session object |
type.columns |
data.table: (Supports reactive) key = columnnames (id) level = datalevel/ type of column label = optional, used instead of id sub_label = optional, added to id/ label |
type |
The type (contrast/group/sample of the type dropdown menu, selected in step 1 (upper dropdown). Defaults to unique(type.columns[,2]) (Supports reactive) |
column.type.label |
Changes the label of the first UI element |
label.label |
Change label above label text input. |
multiple |
Boolean value whether multiple values can be selected in second selector. (Default = TRUE) |
none |
If TRUE adds "None to secondSelector and select is. (Default = FALSE) |
sep |
Used to separate labels on multi value selection. |
suffix |
Added to label only on multiple = FALSE (supports reactive). Also uses sep as separator. |
Returns the input. As named list: names("type", "selected_columns", "label")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.