Skip to contents

Starts an interactive Shiny application for exploring molecular pathology data. If a molpath_db object is provided, the app launches pre-loaded with that database. Otherwise, the user can upload data through the app interface.

Usage

mp_run_app(db = NULL, ...)

Arguments

db

Optional molpath_db object to pre-load into the application.

...

Additional arguments passed to shiny::runApp().

Value

This function does not return a value; it launches a Shiny app.

Details

CSV/TSV downloads require a working zip executable (or R_ZIPCMD). Excel downloads additionally require the optional writexl package. Uploaded files are staged and validated as one batch before changing session data.

Examples

if (interactive()) {
  # Launch with example data
  db <- mp_example_db()
  mp_run_app(db)

  # Launch empty and upload data in the browser
  mp_run_app()
}