Differences between revisions 3 and 4
Revision 3 as of 2013-12-11 18:01:11
Size: 753
Editor: KeiichiroOno
Comment:
Revision 4 as of 2013-12-11 18:17:59
Size: 1042
Editor: KeiichiroOno
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
Once you run Cytoscape from command line, you can use [[http://felix.apache.org/site/apache-felix-gogo.html|Apache GOGO OSGi Shell]]. If you type:

{{{
help cytoscape:script
}}}

the shell displays help message how to use script files in Cytoscape.
 
{{attachment:help.png}}

Scripting in Cytoscape 3

Scripting language support is an experimental feature in Cytoscape 3. Java runtime environment comes with built-in scripting language support and Cytoscape uses it to execute tasks written in standard languages such as JavaScript.

This feature is for advanced users. If you just want to automate some basic tasks, such as loading network, you can use Command instead.

Run Cytoscape from Command Line

To use Scripting feature, you need to start Cytoscape from console. In Cytoscape application directory, you can find cytoscape.sh (for Windows, cytoscape.bat). This is a shell script to start Cytoscape from command line.

commandline.png

Once you run Cytoscape from command line, you can use Apache GOGO OSGi Shell. If you type:

help cytoscape:script

the shell displays help message how to use script files in Cytoscape.

help.png

JavaScript

Cytoscape_3/UserManual/Scripting (last edited 2015-06-22 17:33:30 by KeiichiroOno)

Funding for Cytoscape is provided by a federal grant from the U.S. National Institute of General Medical Sciences (NIGMS) of the Na tional Institutes of Health (NIH) under award number GM070743-01. Corporate funding is provided through a contract from Unilever PLC.

MoinMoin Appliance - Powered by TurnKey Linux