Cytoscape/GEXF User Guide University of Maryland University College SWEN 670 Section 9040 Version 0.2 Stephen Cook Reuben Donovan Jeremy McElhatten



Change History Version Date 0.1 4/3/16

Changed By Stephen Cook, Reuben Donovan, Jeremy McElhatten 4/22/16 Stephen Cook, Reuben Donovan, Jeremy McElhatten

Change Description Initial Document

0.2

Updated screenshots and node hierarchy support





Table of Contents Change History ............................................................................................................................................. 2 1. Introduction ............................................................................................................................................. 4 2. Installation Instructions ............................................................................................................................ 4 2.1 Manual Download and Installation .................................................................................................... 4 2.2 Download and Installation via App Manager ..................................................................................... 9 3. How to Import a GEXF File ..................................................................................................................... 10 4. GEXF to Cytoscape Feature Mapping ..................................................................................................... 12 4.1. GEXF Graph Metadata to Cytoscape Network Table ....................................................................... 12 4.2. GEXF Nodes to Cytoscape Nodes .................................................................................................... 12 4.3. GEXF Edges to Cytoscape Edges ...................................................................................................... 12 4.4. GEXF Attributes to Cytoscape Node and Edge Tables ..................................................................... 13 4.5. GEXF Visualizations to Cytoscape Visualizations ............................................................................. 13 5. Limitations of GEXF Import .................................................................................................................... 14 5.1. Attribute Types ................................................................................................................................ 14 5.2. Attribute Options ............................................................................................................................ 14 5.3. Node Hierarchy Support .................................................................................................................. 14 5.4. Dynamic Graphs .............................................................................................................................. 15



1. Introduction The purpose of this document is to provide information that would be useful to the users of the Cytoscape/GEXF “app” that allows network diagrams described using the GEXF file format to be imported into Cytoscape. This information includes instructions on how to install this Cytoscape “app”, instructions on how to make use of the features added to Cytoscape by this “app”, how features described by the GEXF file format are mapped to Cytoscape features, and limitations the “app” has when importing.

2. Installation Instructions Cytoscape “apps” can be downloaded from the Cytoscape App Store (http://apps.cytoscape.org) directly from any modern web browser. It can then be installed via the App Manager window in Cytoscape itself. The App Manager window can also be used to directly search for and install a Cytoscape “app” in a single screen. Instructions for installing a Cytoscape “app” through both methods on a Windows PC are described below.

2.1 Manual Download and Installation Step 1.

Open a new web browser (e.g. Internet Explorer, Firefox, Chrome) window.





Step 2.

Navigate to http://apps.cytoscape.org

Step 3.

Type “gexf-app” without the quotes in the search bar at the top of the Cytoscape App Store webpage and press the Enter key.

Step 4.

Select the gexf-app link that appears in the newly presented webpage.

Step 5.

Click the blue download button that appears on the right side of the newly presented webpage.

Step 6.

If prompted to choose the location where the “app” should be saved, choose a location that you will be able to easily access, such as the Desktop or Downloads folder.

Step 7.

Open the Cytoscape application installed on your computer.

Step 8.

Click “Apps” in Cytoscape’s menu bar.



Step 9.

Click “App Manager…” in the menu that appears. The App Manager window will appear.

Step 10. Click the “Install from File…” button in the bottom left corner of the App Manager window. Step 11. Navigate to the folder containing the file downloaded in step 6 and double-click that file. The “app” is now installed. Close the App Manager window.



2.2 Download and Installation via App Manager Step 1.

Open the Cytoscape application installed on your computer.

Step 2.

Click “Apps” in Cytoscape’s menu bar.



Step 3.

Click “App Manager…” in the menu that appears. The App Manager window will appear.

Step 4.

In the Search textbox, type “gexf-app” without the quotes. The GEXF importer “app” should appear in the middle pane. Select it and then click the Install button in the bottom right corner of the window.

Step 5. Step 6.

The “app” is now installed. Close the App Manager window.

3. How to Import a GEXF File Once the GEXF importer “app” is installed, a GEXF file can be imported into Cytoscape by using the “Import Network From File” functionality in Cytoscape. Cytoscape provides its users with three different ways to access this functionality: 1. While holding the Control Key on the keyboard, press the L key on the keyboard. 2. Click the third button from the left in the row of buttons underneath the menu bar.

3. Select File from the Menu bar and then choose Import, Network, File…

Once one of these actions are performed, Cytoscape shows a file selection dialog. The “Files of type” list should contain an option that reads “Graph Exchange XML Format (gexf) (*.gexf)” if the

GEXFImporter “app” is installed correctly. Selecting that option will cause the file selection dialog to only show folders and GEXF files. Once a GEXF file is selected and the Open button is pressed, the GEXFImporter will attempt to parse the GEXF file and create a Cytoscape network based on the data that is read.

4. GEXF to Cytoscape Feature Mapping 4.1. GEXF Graph Metadata to Cytoscape Network Table The GEXFImporter “app” supports the importing of the XML attribute “lastmodifieddate” and the following XML sub-elements of the “meta” XML element defined in the GEXF format: • • •

creator keywords description

A column is created in the Network Table for each of the above XML attributes or sub-elements that are found in the GEXF file. If at least one XML attribute or sub-element is found, then a single row is created in this table with the values read from the GEXF file stored in the appropriate column.

4.2. GEXF Nodes to Cytoscape Nodes The GEXFImporter “app” supports the importing of node data found in the “node” XML elements defined in the GEXF format. A row is added to the Node Table for the Cytoscape network for each node that is imported from the GEXF file. The XML attribute “id” for nodes is used internally by the GEXFImporter “app” but is not presented within Cytoscape. The XML attribute “label” for nodes is stored in the “name” column of the node’s row in the Node Table. Support for non-visualization node attributes is described in section 4.4 of this document. Support for visualization node attributes is described in section 4.5 of this document.

4.3. GEXF Edges to Cytoscape Edges The GEXFImporter “app” supports the importing of edge data found in the “edge” XML elements defined in the GEXF format. A row is added to the Edge Table for the Cytoscape network for each edge that is imported from the GEXF file. The XML attributes “source” and “target” for edges are used internally by the GEXFImporter “app” to create one or two edges connecting the nodes whose id matches the value of the “source” or “target” XML attributes. The values of those XML attributes are not shown to the user in Cytoscape. If a node does not exist in the GEXF file with an id that matches either the “source” or “target” XML attributes, then the GEXFImporter “app” will create a node in the Cytoscape network with that “id” to allow the edge to be created. This newly created node will only contain default attribute information. The XML attribute “type” for edges is used by the GEXFImporter “app” for two purposes: to set a Cytoscape edge’s IsDirected property and to determine if two Cytoscape edges should be created in the event that the edge in the GEXF file is bidirectional. If an edge is determined to be bidirectional, the GEXFImporter “app” will create one Cytoscape edge as normal and another Cytoscape edge with the “source” and “target” nodes reversed. All other attributes for the two Cytoscape edges created as a result of a bidirectional edge in the GEXF file will be the same.

Support for non-visualization edge attributes is described in section 4.4 of this document. The “weight” attribute for “edge” XML elements is handled in the same manner as other non-visualization edge attributes. Support for visualization edge attributes is described in section 4.5 of this document.

4.4. GEXF Attributes to Cytoscape Node and Edge Tables The GEXFImporter “app” supports the importing of non-visualization attributes of GEXF nodes and edges found in the “attributes” and “attribute” XML elements and the “attvalues” and “attvalue” XML sub-elements of the “node” and “edge” XML elements defined in the GEXF format. When “attributes” and “attribute” XML elements are encountered, the GEXFImporter “app” will create a column in the Node table or the Edge table of the Cytoscape network depending on the value of the “class” XML attribute of the “attributes” XML element. The name of this column is set to the value in the “title” XML attribute of the “attribute” XML element. The type of the column is set based on the value in the “type” XML attribute of the “attribute” XML element (see section 5.1 of this document for limitations about an attribute’s type). If the “default” XML sub-element to the “attribute” XML element is provided, then the default value of the column will be set to the value of the “default” XML subelement. The GEXFImporter “app” currently has limitations around handling the “options” XML subelement of the “attribute” XML element as described in section 5.2. The “attvalues” and “attvalue” XML sub-elements of “node” and “edge” XML elements are used to set the values of a given node or edge’s attribute. When these XML sub-elements are specified, the GEXFImporter “app” uses the value in the “for” XML attribute of the “attvalue” XML sub-element to determine which attribute, and therefore which column in the Cytoscape network’s Node or Edge table for the given node’s or edge’s row, that the value in the “value” XML attribute of the same XML subelement should be set to. If a value specified in the “value” XML attribute can not be casted to the attribute’s specified type, then the GEXFImporter “app” will stop execution immediately and cause Cytoscape to display an error message.

4.5. GEXF Visualizations to Cytoscape Visualizations The GEXFImporter “app” supports the importing of visualization XML sub-elements of GEXF node and edge XML elements. The following node visualization XML sub-elements and their attributes are supported in the GEXFImporter “app” and are mapped to the following Cytoscape properties: GEXF Visualization Element / Attributes color / r, g, b, a position / x, y, z size / value shape / value

Cytoscape Property Fills the node with a RGBA color specified by the element’s attributes Sets the node’s location to the specified (X, Y, Z) coordinate Sets the node’s size to the value specified Sets the node’s shape based on the following mapping (GEXF value à Cytoscape shape type): • disc à ellipse • square à rectangle • triangle à triangle • diamond à diamond

• •

image à octagon “all others” à round rectangle

The following edge visualization XML sub-elements and their attributes are supported in the GEXFImporter “app” and are mapped to the following Cytoscape properties: GEXF Visualization Element / Attributes color / r, g, b, a thickness / value shape / value

Cytoscape Property Sets the edge’s unselected color to the specified RGBA value Sets the edge’s width to the value specified Sets the edge’s shape based on the following mapping (GEXF value à Cytoscape shape type): • solid à solid • dotted à dot • dashed à equal dash • double à parallel lines • “all others” à solid



5. Limitations of GEXF Import 5.1. Attribute Types The GEXF format allows for the following types: “integer”, “long”, “float”, “double”, “boolean”, “string”, “listinteger”, “listlong”, “listfloat”, “listdouble”, “listboolean”, and “liststring”. The types prefixed with “list” are defined as array of the type that appears after the prefix. These types are used directly in Cytoscape with two exceptions: “float” and “listfloat”. Cytoscape does not support the “float” type. Therefore, columns created in the Cytoscape network’s Node table or Edge table from attributes that have a type of “float” or “listfloat” will have their type set to “double” or “array of doubles” respectively. This conversion may result in the value of such a column having the incorrect precision.

5.2. Attribute Options The GEXFImporter “app” does not currently validate that the value of an attribute is contained within the list of valid values as described by a GEXF attributes “options” XML sub-element when the “options” XML sub-element is present.

This feature is not currently planned to be supported in future versions of the “app”.

5.3. Node Hierarchy Support The GEXFImporter “app” attempts to map the node hierarchy structure and the phylogeny structure (i.e. the “parent” XML element) defined in the GEXF format to groups within Cytoscape. The “app” is currently creating groups but only shows the children at the end of a node hierarchy branch. Users will need to right-click a node that is in a node grouping, hover over “Group” in the context menu that appears, and select “Expand Group(s)” to view the parent of the clicked node. Performing this action may cause Cytoscape to create “member” or “meta” edges based on the nodes and edges that were imported from a GEXF file and which nodes and edges are currently visible in the Cytoscape network diagram.

5.4. Dynamic Graphs The GEXFImporter “app” does not support the import of GEXF graphs with a mode of “dynamic”. The “app” will return an error and not create a Cytoscape network if it is asked to import a GEXF file containing a “dynamic” graph.

This feature is not currently planned to be supported in future versions of the “app”.

User Guide - GitHub

2.2 Download and Installation via App Manager . .... Cytoscape/GEXF “app” that allows network diagrams described using the GEXF file format to be imported ...

1MB Sizes 99 Downloads 600 Views

Recommend Documents

user guide - GitHub
TOOLS AnD EVA ITEMS CAn BE FOUnD In A nEW TAB UnDER SCIEnCE CATEGORy. .... But THE greatest thing above all is KSP community. ... Of course, we still need hard work to improve our mods and we have many other ideas as.

User Guide - GitHub
Requires the query, phrase, or word on its right hand side to not be in the document. [ATTRIBUTE]:. Requires the value of the document attribute describe between the brackets [ ] to equal the value to the right of the colon. Multiword phrases are exp

Hedgehog User Guide 2.4.0 - GitHub
Hedgehog can be installed to run on a single server with all the components local to that server. .... They are documented separately in the Hedgehog Tools PDF. ... RSSACD. In order to collect the zone-size and load-time statistics a dedicated.

DNS-STATS Compactor User Guide - GitHub
3.1.1. Configuration file location . ... 4.2.1. Capturing network traffic . .... When the compactor package is upgraded, any running service is stopped for the ...

User Guide Magento extension for ricardo.ch - GitHub
13.1.1 SEND US YOUR CONFIGURATION WITH THE EXPLANATION OF YOUR PROBLEM. 44 .... For support or questions related to the services: [email protected]. For any related Magento ..... orders' PDF, in Magento Orders backend or in sales emails. ... you wil

User Manual - GitHub
Page 1. User Manual. Project Odin. Kyle Erwin. Joshua Cilliers. Jason van Hattum. Dimpho Mahoko. Keegan Ferrett. Page 2. Contents. Contents. Section1 .

GWR4.09 User Manual - GitHub
Starting the program, Exiting the program, and Tab design ...................... 5 ..... GWR4 runs on Windows Vista, Windows 7, 8 and 10 environments with the .

SPSToolbox - User Manual - GitHub
May 15, 2013 - Contents. 1 Introduction .... booktitle = {Proceedings of the Automation and Applied Computer Science Workshop ..... System Sciences Series.

VFS User Manual - GitHub
wind turbines considering the non-linear effects of the free surface with a two-phase .... the nodes of the computational domain are classified depending on their location with ...... bcs.dat need to be set to any non-defined value such as 100.

OCEMR: User Manual - GitHub
In order to access the program, OCEMR, find the Firefox tab located to the left of the screen. .... click on the view option next to the patient record with the most ..... entered, the report will appear as a download at the bottom of the popup scree

The User Manual - GitHub
Defined Wireless Networking Experiments 2017 ..... 1.7.3 Encryption. Mininet-WiFi supports all the common wireless security protocols, such as WEP (Wired Equivalent. Privacy), WPA (Wi-Fi Protected Access) and WPA2. ..... mac80211_hwsim practical exam

User Manual - GitHub
IIS-1. 0x01C2 2000---0x01C2 23FF. 1K. IIS-0. 0x01C2 2400---0x01C2 27FF. 1K ..... IIS 1 CLOCK REGISTER ...... NFC can monitor the status of R/B# signal line.

ZotPad User Manual - GitHub
Settings. 19. Troubleshooting and getting help. 24. Technical information. 27 .... These will be replaced with document previews for PDF files after the files have ...

WDS User Archetypes MASTER.indd - GitHub
government and early in their career. WHY THEY'RE USING THE STANDARDS ... technology stacks and work-flows. USER ARCHETYPE. The reviewer.

Overture VDM-10 Tool Support: User Guide - GitHub
Overture Technical Report Series. No. TR-002 ... Year Version Version of Overture. January .... 11.2.8 Skip classes/modules during the code generation process . . . . . . . . . . 43 ... 16.4.1 Setting up Run Configuration for Remote Control . .... ti

Maker Studio SD Card Shield User Guide - GitHub
Data. Operate Voltage(V). 2.7~3.6, Typical: 3.3. Current(mA). 0.156~200, Typical: 40. Card Support. SD Card(

Sequencer64 User Manual 0.94.4 - GitHub
Feb 3, 2018 - Doxygen output (including a PDF file) provides a developer's reference manual. – Debian packaging was ..... can play music. The items that appear in this tab depend on four things: • What MIDI devices are connected to the computer.

RFBee User Manual v1.1 - GitHub
Aug 27, 2010 - 2. 1.2. Specifications. ... 2. 1.3. Electrical Characteristics . ..... >>Datasheet: http://www.atmel.com/dyn/resources/prod_documents/doc2545.pdf. >>Arduino ... >>Datasheet: http://focus.ti.com/docs/prod/folders/print/cc1101.html.

Design module user manual - GitHub
In the design module objects like buildings can be selected. For each case, measures ... Figure 3, parts of the web application for control and visualizing data. 1.

DuinoCube User Manual by Simon Que - GitHub
delve into the finer details of some system components, such as the FAT file ... importantly, Arduino shields can be designed to stack on top of one another, .... but can be run on Linux using the Wine emulator. http://notepadplusplus.org/ .... Conne

Clam AntiVirus 0.99.1 User Manual - GitHub
1 Introduction. 4 .... 1 Introduction. 6. – HTML. – RTF. – PDF. – Files encrypted with CryptFF and ...... Dynamic Network Services, Inc (http://www.dyndns.org/).

A Random User Sample App - GitHub
Alloy has two in-build adapters: ○ sql for a SQLite database on the Android and iOS platform. ○ properties for storing data locally in the Titanium SDK context.

Tenable.io User Guide
2 days ago - See the Search documentation for more information about contextual ...... UDP is a stateless protocol, meaning that communication is not per- formed with ...... In addition, make sure you enforce a policy that man- dates the use ...

User Guide - Loyalty Wireless
Multi-tasking is easy with Android because open applications keep running ...... Magic Remote is compatible only with LG Smart TVs released in 2012 and after. 1 Select ..... Allows you to receive multimedia content from LG phones or tablets.