tracking: Tracking of entities within plots

trackingR Documentation

Tracking of entities within plots

Description

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

Usage

mod_tracker_ui(id)

mod_tracker_server(id, object)

Arguments

id

xxx

object

A instance of the class SummarizedExperiment

Value

NA

A list() of integers

Examples

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)
}

samWieczorek/DAPAR2 documentation built on Oct. 15, 2023, 1:45 p.m.