|
Algorithm 1 Find the parameter , such that the clustering of nodes/drugs in with modularity resolution (i.e., ) produces the biggest number of repositionings confirmed with the level 1 ATC codes in DrugBank 5.1.8. |
Input: Drug-drug similarity network based on drug-gene interaction data from DrugBank 5.0.9., ATC codes for drugs in DrugBank versions 5.0.9 and 5.1.8
Output: The value that generates the highest number of confirmed repositionings.
-
1:
for in range (0.1 to 5), with 0.1 steps do
-
2:
-
3:
for all do
-
4:
-
5:
-
6:
for all do
-
7:
if
-
8:
-
9:
end if
-
10:
end for
-
11:
end for
-
12:
-
13:
end for
-
14:
Return the value of corresponding to
|