| ie_create_isofiles_server | R Documentation |
Builds the full isoexplorer Shiny app – one navbar tab per measurement type
(continuous flow / dual inlet / scans), each with a file-selector sidebar and
plot – and returns it as a shiny::shinyApp() object to run or deploy. Unlike
the focused ie_explore_continuous_flow() explorers, this app does NOT take an
ir_isofiles object – data arrives at runtime via the navbar Upload
button, any watched monitoring_folders, and/or the Load examples button (a
"get started" prompt is shown until something is loaded). Loaded examples are
selected automatically; uploaded files are selected only when the upload modal's
"Select the uploaded files" box is checked.
ie_create_isofiles_server(
timezone = Sys.timezone(),
options = list(),
uiPattern = "/",
enableBookmarking = "url",
default_theme = app_themes(),
upload_folder = NULL,
monitoring_folders = NULL,
examples_folder = "examples",
temporary_storage = FALSE,
max_upload_size = NULL,
log_level = "TRACE"
)
timezone |
the timezone to use for datetime display |
options |
Named options that should be passed to the |
uiPattern |
A regular expression that will be applied to each |
enableBookmarking |
Can be one of |
default_theme |
the default bslib Bootstrap 5 theme preset |
upload_folder |
upload directory for the navbar upload button; |
monitoring_folders |
folders to watch for new isofiles, read and added
automatically ( |
examples_folder |
directory the "Load examples" navbar button copies the
isoreader2 bundled example files into and loads; |
temporary_storage |
if |
max_upload_size |
maximum per-file upload size in MB (sets the
|
log_level |
how verbosely the app logs; see |
Because it returns the app object unrun, launch it yourself (print it, or wrap
it in shiny::runApp()) or hand it to a deployment tool (e.g. shinyapps.io /
ShinyProxy).
a shiny::shinyApp() object (unrun)
if (interactive()) {
# build the full multi-tab server app and run it; load data via the navbar
# "Load examples" / "Upload" buttons at runtime
ie_create_isofiles_server() |> shiny::runApp()
# enable uploads (raise the per-file cap for large raw isofiles)
app <- ie_create_isofiles_server(
upload_folder = "uploads",
max_upload_size = 200
)
shiny::runApp(app)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.