FilterModule: FilterModule

View source: R/Module_FilterModule.R

FilterModuleR Documentation

FilterModule

Description

Module to apply filters to a featureTable (UI). Has to be inside a MultiFilterModule, and will modify the parent modules internalValues, accessed as values$MultiFilter!

Usage

FilterModule(
  input,
  output,
  session,
  values = reactiveValues(featureTables = NULL, MultiFilter = NULL),
  static = list(lab = "Filter"),
  initValues = list(active = F, filter = TRUE, colSelected = NULL, summary = NULL,
    numeric = T, minSel = NULL, maxSel = NULL, modeSel = NULL, txtSel = NULL, minSelInit
    = NULL, maxSelInit = NULL, modeSelInit = NULL, txtSelInit = NULL, loadingFilters = F,
    excludeNAs = TRUE)
)

FilterModuleUI(id)

Arguments

input

arguments necessary for use with callModule()

output

arguments necessary for use with callModule()

session

arguments necessary for use with callModule()

values

a reactiveValues object that in effect gives read and write access to external objects

static

a list of arguments that are not in a reactive context and hence do not change while the app is running.

initValues

set initial values for input fields

id

id to be used to define a namespace via NS() (must match id in callModule for the server Module)

Value

a reactivevalues object with its internalValues

Functions

  • FilterModule: server logic

  • FilterModuleUI: UI elements

See Also

values for a description of the values object


mjhelf/METABOseek documentation built on April 27, 2022, 5:13 p.m.