Research Article

HKC: An Algorithm to Predict Protein Complexes in Protein-Protein Interaction Networks

Pseudocode 3

Procedure Filtering.
Input:
 PPI network (an indirect simple graph):
 Node score threshold: T1 and T2
 Cohesion threshold: T3
Output:
 The predicted protein clusters: Clusters
Call Scoring
Call ClusterFinding
Call Filtering
// step3: Filtering
Procedure Filtering
for all cluster c in Clusters do
  if the size of c is less than 3 then
   remove c in Clusters
  end if
end for
for all cluster c in Clusters do
  den(c) = the density of c
  s = size of c
  score(c) = den(c)* s  // compute the score of cluster
end for
for all cluster , in Clusters do
  o = the overlap ratio of and
  if > 0.95 then
   if score( ) > score( ) then delete in Clusters
   else delete in Clusters
   end if
  end if
end for
Clusters = sort Clusters descendingly according to cluster scores
end procedure