# NOT RUN {
## Only run examples in interactive R sessions
library(RDML)
if (interactive()) {
ui <- fluidPage(
pcrPlateInput("plate1",
"Plate 1",
RDML$new(system.file("/extdata/stepone_std.rdml", package = "RDML"))$AsTable(),
pcrFormatType$new(8,12,labelFormatType$new("ABC"),
labelFormatType$new("123"))),
verbatimTextOutput("selected")
)
server <- function(input, output) {
output$selected <- renderText({ input$plate1 })
}
shinyApp(ui, server)
}
# }
Run the code above in your browser using DataLab