Research Article

An Algorithm for Finding Functional Modules and Protein Complexes in Protein-Protein Interaction Networks

Algorithm 1

AssignNearCliqueIdx.
(1) for all node do
(2)                           initialize cIdx of all nodes to 0
(3) end for
(4)                         set the current clique index to 1
(5) for all node do
(6)  if (isClique( )) then if the node belongs to a clique
(7)   for all edge do
(8)    if ( ) then if the of the node connected to is positive
(9)     for all do for all nodes in
(10)      if ( ) then
(11)           assign to as its cIdx
(12)      end if
(13)     end for
(14)    else
(15)     
(16)    end if
(17)   end for
(18)                     set of to
(19)                         increase by one
(20)  end if
(21) end for