Run TIMA Shiny app

Description

Launches the TIMA Shiny web application for interactive metabolite annotation. Automatically detects Docker containers and adjusts network settings accordingly.

Usage

run_app(host = "127.0.0.1", port = 3838, browser = TRUE)

Arguments

host Character string specifying the host/IP address to listen on. Default: "127.0.0.1" (localhost). Use "0.0.0.0" to allow external connections.
port Integer port number to listen on. Default: 3838. Valid range: 1-65535.
browser Logical whether to automatically launch a web browser when starting the app. Default: TRUE. Automatically set to FALSE in Docker.

Value

NULL (invisibly). Launches the Shiny app as a side effect.

Examples

library("tima")

# Launch app on localhost
run_app()

# Launch on custom port
run_app(port = 8080)

# Allow external connections (useful in Docker)
run_app(host = "0.0.0.0", port = 3838)