Skip to contents

Starts an interactive Shiny application for exploring, preprocessing, and analyzing LIBS spectral data. The app provides six tabs: Import, Preprocessing, Peaks, Calibration, Chemometrics, and Export.

Usage

ls_run_app(data = NULL, port = NULL, launch.browser = TRUE)

Arguments

data

Optional. A ls_spectrum(), ls_dataset(), or file path to preload. Default NULL (start with upload interface).

port

Integer. Port for the app. Default NULL (auto-select).

launch.browser

Logical. Open browser on launch. Default TRUE.

Value

Invisible NULL. Launches a Shiny application as a side effect.

Examples

# \donttest{
if (interactive()) {
  ls_run_app()
}
# }