Remove the dataset
Upolad the dataset
Mental Health Knowledge Graph
Electronic Health Records, or EHRs, hold a wealth of data and can be invaluable for mental health-related medical research. The challenge, however, is that the large number of EHR concepts representing health conditions, laboratory tests, medication and procedures makes it tricky to pinpoint relevant information. To address this, we introduce the Knowledge Graph for Mental Health, built based on embedding vectors derived from co-occurrence patterns of EHR concepts. Detailed EHR codes have been rolled up according to ontologies including PheCodes, LOINC Codes, RxNorm, and CCS categories. For each target EHR concept such as suicide ideation PheCode, the graph shows concepts most related to the target concept according to the cosine similarity between the two embedding vectors.
Using the app
Input on the Left
Input: enter some terms in the searchbar and select some rows in the table.
Click “Deselect” to unselect all nodes or “Submit” to visualize your chosen nodes.
“Hide the labels” checkbox: controls whether node labels are displayed in the network.
“Top nodes to show” slider: to set the maximum number of nodes displayed in the network.
“Cutoff of relatedness” slider: to filter out nodes with a cosine similarity below the specified value.
“Filter nodes by category” dropdown: to select specific node categories for visualization.
- Hover the network
- hover the node
- hover the edge
- Click on the node. There will be a popup window to show the details about the clicked node:
- Table of connected nodes.
- Hierarchy of the connected nodes.
- Cosine similarity of the connected nodes.
- More details.
Download: to download the data of the network as csv.
Tutorial: a step-by-step guide.
Settings on the Right
“Network” tab: customize the colors and shapes of different node categories in the network.
“Expand groups” tab: to select various groups and expand them in the network to reveal the nodes within, allowing for a deeper exploration of the relationships between your chosen groups.