Closes the current session in Cytoscape, destroying all unsaved work.
closeSession(save.before.closing, filename = NULL, base.url = .defaultBaseUrl)
save.before.closing |
|
---|---|
filename | (optional) If |
base.url | (optional) Ignore unless you need to specify a custom domain, port or version to connect to the CyREST API. Default is http://localhost:1234 and the latest version of the CyREST API supported by this version of RCy3. |
None
A boolean for whether to save before closing is required since you could lose data by closing without saving.
# \donttest{ closeSession(FALSE) closeSession(TRUE, '/fullpath/mySession') closeSession(TRUE) # }