LoadTableModule: LoadTableModule

View source: R/Module_LoadTableModule.R

LoadTableModuleR Documentation

LoadTableModule

Description

Module for loading Tables

Usage

LoadTableModule(
  input,
  output,
  session,
  values = reactiveValues(projectData = NULL, featureTables = NULL),
  static = list(tooltip = "Load", label = "Load", format = list(header = T, sep =
    "\t", quote = "\"", stringsAsFactors = F), pattern = "\\.tGrouping$"),
  ...
)

LoadTableModuleUI(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

see Details

...

arguments passed to UI elements for the "Load" button.

id

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

Details

elements in static that can be set:

  • tooltip tooltip on button opening the load table menu

  • label label on button opening the load table menu

  • format loading options header, sep, quote, stringsAsFactors to be passed to data.table::fread

  • pattern file name pattern to restrict file display to

Value

returns its internalValues, most notably element df that contains the table once it is loaded, and filename, which contains the basename of the loaded table file

Functions

  • LoadTableModule: server logic

  • LoadTableModuleUI: UI elements

See Also

values for a description of the values object


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