Skip to contents

Opens a Shiny application for interactive exploration of hyperspectral cubes. Provides band selection, spectral profiling, clinical index mapping, preprocessing, classification, and export tools across six tabs.

Usage

hs_run_app(cube = NULL, port = NULL, launch.browser = TRUE)

Arguments

cube

An hsi_cube object to explore. If NULL (default), the app starts with the example cube.

port

Integer. Port for Shiny server. Default NULL (auto).

launch.browser

Logical. Open in browser. Default TRUE.

Value

Invisible NULL. Launches a Shiny application.

Examples

# \donttest{
cube <- hs_example_cube()
if (interactive()) {
  hs_run_app(cube)
}
# }