tracking | R Documentation |
This shiny module offers a UI to select a subset of a dataset and superimpose quantitative values of this selection on the complete plot Three modes of selection are implemented:
'Protein list': xxx,
'Random': xxx,
'Specific column': xxx
mod_tracker_ui(id)
mod_tracker_server(id, object)
id |
xxx |
object |
A instance of the class |
NA
A list()
of integers
if (interactive()) {
ui <- tagList(
mod_tracker_ui("track"),
uiOutput("show")
)
server <- function(input, output, session) {
rv <- reactiveValues(
tmp = NULL
)
rv$tmp <- mod_tracker_server(
id = "track",
object = reactive({
ft[[1]]
})
)
output$show <- renderUI({
p(paste0(rv$tmp(), collapse = " "))
})
}
shinyApp(ui = ui, server = server)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.