Export a ComplexMap Network for External Tools (Cytoscape)
Source:R/interoperability.R
exportNetwork.RdExports the `ComplexMap` nodes and edges to compatible file formats, preserving systems biology attributes like Specificity Scores and Functional Domains.
Details
**Systems Biology Rationale:** To verify the landscape in external tools (e.g., Cytoscape), this function ensures that the specific calculated attributes are correctly formatted:
- **`score`**: The Specificity Score (Size/Color mapping). - **`primaryFunctionalDomain`**: The Specific Label. - **`colorHex`**: The calculated blended color.
It performs a "Sanitization" step to convert any R-specific list columns into semi-colon separated strings and fills `NA` values to ensure safe import.