| add_drugs_as_nodes | R Documentation | 
Add Drugs as Nodes
add_drugs_as_nodes(W_mat, drug_target_interactions, edge_weight = 1000)
W_mat | 
 adjacency matrix for the chosen PIN  | 
drug_target_interactions | 
 data frame containing (processed) drugs and target genes  | 
edge_weight | 
 edge weight for drug-target gene interaction (default = 1000)  | 
adjacency matrix with the drugs added as nodes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.