Safety Knowledge Graph Viewer

Overview

The Knowledge Graph Viewer helps medical professionals explore relationships among drugs, genes, diseases, and laboratory indicators. It supports rapid hypothesis generation, mechanism exploration, and drug repurposing insights.

How to Use

  1. In the sidebar, choose a Center node (type to search; options are grouped by Disease/Drug/Gene/Lab).
  2. Optional filters in the sidebar:
    • Filter edges by mechanism of action: All / Positive / Negative.
    • Remove reversed-direction modulators (default on): for two-hop links through genes, keep only second-hop edges whose MOA direction matches the first-hop direction.
    • Filter drugs by max phase (shown only when the center node is not a drug): includes Pre-clinical (stored as -1).
    • Gene filters: Show only genes with drug connections and Genes to include.
  3. Open “Main page” to view the Knowledge Graph and the Downloadable Table.
  4. Network: Click a node to open the Node info popup; Click lab group nodes to expand their children.
  5. Table: Export the filtered table with “Download Filtered CSV”.

Typical Use Cases

  • Drug Prioritization and Repurposing
    • Start from a target gene or disease, discover positively/negatively modulating drugs, assess maturity via drug_max_phase (Pre-clinical/-1 → Phase 4).
  • Mechanism Exploration
    • Start from a drug, inspect linked targets and downstream disease/lab associations.
  • Biomarker Investigation
    • Expand lab group nodes to view related indicators and their relationships.

Key Features

  • Center Selection and Filtering
    • Choose a center node (search-enabled).
    • Filter relationships by mechanism of action (MOA) and optionally remove reversed-direction second-hop links.
    • Filter drugs by max phase and restrict which genes are shown.
  • Graph Visualization
    • Interactive network graph of entities related to the selected center node.
    • Click lab group nodes to expand their children.
    • Click a node to open the Node info popup.
  • Table View and Download
    • Scrollable table summarizing filtered edges and target-node attributes.
    • Export the filtered result to CSV.

Visual Encoding

  • Node Shapes
    • Drug: dot
    • Gene: box
    • Disease: triangle
    • Lab group: hexagon
    • Lab measurement: diamond
    • Center node: star
  • Node Colors
    • Drug nodes use a red gradient mapped to drug_max_phase: Pre-clinical (-1, lightest), ½/3 (darker), 4 (darkest).
    • Non-drug nodes use distinct colors by type.
  • Edge Colors
    • Positive modulation: deep blue
    • Negative modulation: magenta
    • Other/unknown: gray
Subset of the input CSV following user selection.
Download Filtered CSV