Skip to content

v0.1.2: Enhanced Analysis & Visualization Refactor

Latest

Choose a tag to compare

@axp-knickei axp-knickei released this 02 Feb 02:23
· 7 commits to main since this release

🚀 Key Features

📊 New Post-Processing Analysis Module

A dedicated analysis.py module has been introduced to generate publication-ready statistics and figures from pipeline outputs without re-running the data collection steps.

  • Network Statistics: Automatically generates degree distribution histograms and "Top N Hubs" bar charts.
  • Interaction Quality: Analyzes and plots STRING confidence score distributions.
  • Summary Tables: Produces CSV summaries for network metrics and interaction scores.

🕸️ Improved Network Visualization

The network visualization logic has been completely refactored into a NetworkVisualizer class for cleaner, more interpretative outputs.

  • Hub-Centric Plots: The visualization now strictly focuses on "Hubs + First Neighbors," filtering out weak connectors to reduce noise.
  • Visual Clarity: Enhanced legends, annotations, and styling for the static network plots (network_static_hubs_connectors.png).

🛠 Improvements & Fixes

  • Code Refactoring:
    • Removed redundant code and excessive debug prints in netpharm/core.py and netpharm/visualize.py for a cleaner execution log.
    • Streamlined the build_network function to support flexible scopes (all targets vs. overlapping only).
  • CI/CD Integration: Added a GitHub Actions workflow (.github/workflows/ci.yml) to
    automatically run tests and check code coverage on every push.
  • Documentation: Updated README.md and added a new pipeline architecture diagram to better explain the workflow.

📦 Maintenance

  • Updated package version to 0.1.2.