addSTRINGNetMappings: Add Cytoscape mapping for STRINGNet
Description
This function allows to add edge mapping in a pre-defined Cytoscape style. This function is called in addNetworkStyle().
Usage
addSTRINGNetMappings(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 colors depend on the interaction source given by STRING, black being attributed for combined scores. The edge transparency depends on the confidence score given by STRING.