Icon

03_​Co-occurrence_​Network

Network of co-occuring Drug Names

This workflow describes the network creation process and specifically creates the drug-drug co-occurence network. Here, we use the Network Creator node to create an empty network that can be filled with new nodes and edges by using the Object Inserter. Afterwards, we predict the ATC codes and create visual properties (color & shape) for the nodes within the network. These properties can be added by using the Feature Inserter node. After doing so, we use the Network Viewer JS (hidden in the View component) to visualize the network.

URL: Predicting the Purpose of a Drug https://www.knime.com/blog/predicting-the-purpose-of-a-drug

Creating the Term Co-occurrence table.

Combine newly found entities and known entities.

1) Filter co-occurrences
2) Join ATC codes and Origin information

Create the drug-drug co-occurrence network

Retrieve semantic relations between newly identified drug names and drug names from the initial list



Creation of a co-occurence network of drug names tagged in documents.

Visual Properties
Adding colors
Feature Inserter
ATC Prediction
Network Creator
Adding shape
Feature Inserter
Insert nodesand edges
Object Inserter
Create EdgeID
String Manipulation
Prepare drug names for network
Bag of words ofunique set of (test)documents
Table Reader
Extracted entities fromtest set
Table Reader
Random subgraph
View
Write new drugs without relationto data folder
Table Writer
Words used for training(case insensitive)
Table Reader
Drug names andATC Codes
Table Reader
Port 1: New drugs with relationsPort 2: New drugs without relation
Get name relations
Countco-occurrences
Term Co-Occurrence Counter
Filter co-occurrences
Write node propertiesto data folder
Table Writer
Network Writer

Nodes

Extensions

Links