Opens the canonical GateLab React interface with a thin
SingleCellExperiment host. Works both from an installed package
(library(GateLabR); launchGatingApp()) and from a source clone
(source("launch.R"); launchGatingApp()).
Usage
launchGatingApp(
sce = NULL,
sample_column = NULL,
port = NULL,
launch.browser = TRUE,
agent = NULL,
blocking = NULL
)Arguments
- sce
Optional
SingleCellExperiment, or a flowWorkspaceGatingSet(seelaunchReactGateLab). IfNULL, the first SCE in the global environment is used, else the first GatingSet.- sample_column
Optional
colDatacolumn defining samples. When omitted, common sample columns such assample_idare detected.- port
Port for Shiny. By default the app is served on one port from session to session (
getOption("gatelabr.port", 4283)), so that the browser keeps what the app remembers on its own account (the language, the gate edge mode, snapping); seelaunchReactGateLab.- launch.browser
Whether to open a browser window (default:
TRUE).- agent
Open the tab connected to an agent's relay:
TRUEreads the address the relay recorded in~/.gatelab/agent-relay.json, or give thews://address itself. SeelaunchReactGateLab.- blocking
NULL(the default) returns at once when the installed Shiny can run the app in the background (1.14 and later) and blocks otherwise;FALSEinsists on returning at once;TRUEblocks. SeelaunchReactGateLab.
Value
Invisibly the app's handle when the call returns at once
(gatelabStop stops the app, gatelabSync hands
it the object after a change at the console), otherwise invisibly
NULL once the app has stopped. Warns when the app stops with no
population memberships stored, or stale ones: the readers need an explicit
"Save to SCE".