Frequently Asked Questions¶
How to set alternate parent network¶
To set an alternate parent network for a hierarchy, change the value of the network attribute
__CD_OriginalNetworkto a negative number such as-1as seen here:
Load the alternate parent network into Cytoscape. Then select a node in the hierarchy and invoke View Interactions to, if needed, display the Parent network dialog as seen below:
Note
Parent network dialog will only be displayed if there is more then one potential parent network
How to make a network look like a hierarchy network¶
To make hierarchy network from scratch, do the following:
Create/load a network and add nodes and edges to represent the hierarchy
Add
__CD_OriginalNetworknetwork attribute column with type set toLong Integerand the value set to-1. This column tells this tool the network is a hierarchy.Add
CD_MemberListnode column to each node in network with typeStringand with the value set to a list of space delimited node names that correspond tonamecolumn values from the parent network. This column is needed when doing View InteractionsAdd
CD_MemberList_Sizenode to each node in hierarchy with typeIntegerand with the value set to the number of values inCD_MemberListnode column. This column is needed when doing Term Mapping
If not already done, load the parent network into Cytoscape. In screenshot above, HIV-human PPI network has been loaded
Note
To get the same look and feel, copy the style from a hierarchy already run by this tool onto the hierarchy made from scratch