Push a saved Cellucid session into the viewer
cellucid_load_session.RdThe session's trackers are added to the viewer's history beside the person's
own, and the viewer shows the session's active tracker, as opening the file
in the viewer does. The file goes to the viewer as one binary
load_session command, answered by session_loaded.
cellucid-python's viewer.load_session() is the same call.
Arguments
- viewer
What
cellucid_view()orcellucid_serve()returned.- path
A
.cellucid-sessionfile saved on the dataset the viewer shows.- request
What
cellucid_load_session()returned.- timeout
Seconds to wait for the viewer's answer.
Value
cellucid_load_session(): a cellucid_load_session_request,
invisibly, at once.
cellucid_load_session_result(): what the viewer shows once it loaded
the file, list(tracker = list(id, name), head). It stops with the
viewer's reason when the viewer did not load it (another dataset's session,
a damaged file). In a Jupyter notebook the viewer answers between cells:
collect the result in a later cell.
Examples
if (FALSE) { # \dontrun{
v <- cellucid_view(sce)
request <- cellucid_load_session(v, "pbmc.cellucid-session")
cellucid_load_session_result(request)
} # }