addShortPathSTRINGNetMappings: Add Cytoscape mapping for ShortPathSTRINGNet
Description
This function allows to add edge mapping in a pre-defined Cytoscape style. This function is called in addNetworkStyle().
Usage
addShortPathSTRINGNetMappings(mappings)
Arguments
mappings
A list where will be added the mapping attributes
Value
The mappings list updated, containing added JSON-like lists (converted to JSON objects by the addNetworkStyle() function).
Details
The edge transparency depends on the distance computed by Dijkstra's algorithm. Direct interactions are displayed by black solid lines, whereas indirect interactions are displayed by blue dashed lines.