addWGCNANetMappings: Add Cytoscape mapping for WGCNANet
Description
This function allows to add edge mapping in a pre-defined Cytoscape style. This function is called in addNetworkStyle().
Usage
addWGCNANetMappings(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 spearman's rho values. This is red for positive correlations, and blue for negative correlations. The edge width is inversely proportionnal to the spearman's test p-value.