dev/test_mod_choose_pipeline.R

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)
samWieczorek/Prostar documentation built on April 27, 2022, 7:32 a.m.