Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
featureSelector: "Select TopX and/or BottomX features:" -> "Select n …
Browse files Browse the repository at this point in the history
…features from the top and/or bottom of the list"
  • Loading branch information
HendrikSchultheis committed Jan 12, 2018
1 parent 925fcf6 commit ee5bfb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/featureSelector.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ featureSelector <- function(input, output, session, data, features = NULL, featu
})

and_selected <- shiny::callModule(and, "and", data = data.r, show.elements = features.r, element.grouping = feature.grouping.r, delimiter = delimiter, multiple = multiple, contains = contains, ranged = ranged, step = step, reset = shiny::reactive(input$reset))
row_selector <- shiny::callModule(orNumeric, "row_selector", choices = choices, value = value_wrapper, label = "Select TopX and/or BottomX features:", stepsize = 1)
row_selector <- shiny::callModule(orNumeric, "row_selector", choices = choices, value = value_wrapper, label = "Select n features from the top and/or bottom of the list", stepsize = 1)

# row_selector choices
choices <- shiny::reactive({
Expand Down Expand Up @@ -144,7 +144,7 @@ featureSelector <- function(input, output, session, data, features = NULL, featu
# reset row_selector
shiny::observeEvent(input$reset, {
value(NULL)
row_selector <<- shiny::callModule(orNumeric, "row_selector", choices = choices, value = value_wrapper, label = "Select TopX and/or BottomX features:", stepsize = 1)
row_selector <<- shiny::callModule(orNumeric, "row_selector", choices = choices, value = value_wrapper, label = "Select n features from the top and/or bottom of the list", stepsize = 1)
})

#Fetch reactive guide for this module
Expand Down Expand Up @@ -189,7 +189,7 @@ featureSelector <- function(input, output, session, data, features = NULL, featu

# row selector info
shiny::observeEvent(input$infobutton, {
title <- "Select TopX and/or BottomX features"
title <- "Select n features from the top and/or bottom of the list"
content <- "Subset the TopX and/or BottomX features from the currently selected candidates."

shiny::showModal(
Expand Down

0 comments on commit ee5bfb6

Please sign in to comment.