source(file.path('../inst/ProstarApp/server', 'mod_choose_pipeline.R'), local=TRUE)$value
ui <- fluidPage(
tagList(
#uiOutputselectInput('dataType', 'DataType', choices = c('protein', 'peptide'), selected=character(0)),
mod_choose_pipeline_ui('pipe')
)
)
# Define server logic to summarize and view selected dataset ----
server <- function(input, output, session) {
rv <- reactiveValues(
res = NULL
)
rv$res <- mod_choose_pipeline_server('pipe',
dataType = reactive({'protein'}))
observe({
rv$res()
print(rv$res())
})
}
shinyApp(ui, server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.