Skip to main content
. 2017 Apr 21;7:1072. doi: 10.1038/s41598-017-00996-x
Algorithm 1: Algorithm for module extraction from gene gene network
      Input: A = {V, E} (Gene gene network); CCT (Clustering coefficient threshold); SST (Semantic similarity threshold); NSS (Semantic similarity score matrix)
      Output: Modules = {C 1, C 2, …, C N}, (a set of N modules)
1 Initialize clusterExpNode = V, Modules = NULL;
2      while |clusterExpNode| > 4 do
3          choose vmclusterExpNode such that vnclusterExpNode, CC(v m) ≥ CC(v n) and CC(v m) ≥ CCT; partialCluster=partialClustervm;
4          while v m exists do
5                   choose another v i from Ns(vm) if and only if vxpartialCluster such that NSS(v i, v x) ≥ SST
6                   partialCluster=partialClustervi;
7                   clusterExpNode = clusterExpNode − v i;
8                   Ns(vm)=(Ns(vm)Ns(vi)) choose next v i;
9          end
10          Mark partialCluster as C count only when |partialCluster| ≥ 3;
11          Modules=ModulesCcount;
12          count + +;
13      end
14 Return Modules;