Starts the interactive Shiny application for cell segmentation,
annotation, and model training. The app is built by sg_app() from
package code; inst/shiny/segmantR/app.R is a thin wrapper for
shiny::runApp() on the installed directory.
Details
For compatibility with code that starts the bundled app directory
directly, the pre-loaded objects are also stored in the option
segmantR.app_env while the app runs; the previous value is restored
when it stops. sg_app() itself does not use options.
Examples
if (interactive()) {
sg_run_app(image = sg_example_image("fluorescence_nuclei"))
}