closeSession | R Documentation |
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. |
A boolean for whether to save before closing is required since you could lose data by closing without saving.
None
closeSession(FALSE)
closeSession(TRUE, '/fullpath/mySession')
closeSession(TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.