View source: R/Widget_xcmsWidget.R
xcmsWidget | R Documentation |
server module for accessing the xcms data analysis workflow
xcmsWidget( input, output, session, externalFilegroups = reactive({ NULL }), static = list(servermode = F, rootpath = .MseekOptions$filePaths, activateXCMS = T, filePattern = .MseekOptions$filePattern, defaultSettings = "Metaboseek_defaults") ) xcmsWidgetUI(id)
input |
arguments necessary for use with
|
output |
arguments necessary for use with
|
session |
arguments necessary for use with
|
externalFilegroups |
A data.frame with columns |
static |
a list of arguments that are not in a reactive context and hence do not change while the app is running. |
id |
id to be used to define a namespace via |
Returns nothing
xcmsWidget
: Server logic
xcmsWidgetUI
: UI elements
## Not run: library(shiny) ui <- xcmsWidgetUI("xcmsGUI") server <- function(input, output) { callModule(xcmsWidget, "xcmsGUI", static = list(servermode = F, rootpath = .MseekOptions$filePaths, activateXCMS = T, filePattern = .MseekOptions$filePattern)) } # Create Shiny app ---- shinyApp(ui, server) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.