optNetwork clique

Weighted Protein Complex Identification (Edge Case)

Scénario de test & Cas d'usage

Business Context

In bioinformatics, researchers are analyzing a protein-protein interaction network where each link has a 'confidence score' (weight). They need to identify functional modules (cliques) but only those where the sum of interaction confidence scores exceeds a high threshold, filtering out weak or noise-based associations.
About the Set : optNetwork

Network analysis and graph algorithms.

Discover all actions of optNetwork
Data Preparation

Creation of a protein interaction network with weights. P1-P2-P3 form a clique with high weights, while P4-P5-P6 form a clique with low weights.

Copied!
1 
2DATA mycas.protein_interactions;
3INPUT prot_a $ prot_b $ conf_score;
4DATALINES;
5P1 P2 5.0 P1 P3 5.0 P2 P3 5.0 P4 P5 1.0 P4 P6 1.0 P5 P6 1.0;
6 
7RUN;
8 

Étapes de réalisation

1
Execute clique action using 'minLinkWeight' to isolate only high-confidence protein complexes.
Copied!
1 
2PROC CAS;
3ACTION optNetwork.clique / links={name='protein_interactions', vars={from='prot_a', to='prot_b', weight='conf_score'}} minLinkWeight=12.0 out={name='high_conf_complexes', replace=true};
4 
5RUN;
6 

Expected Result


The output table 'high_conf_complexes' should ONLY contain the clique {P1, P2, P3} (Total Weight = 15.0). The clique {P4, P5, P6} (Total Weight = 3.0) must be excluded because it does not meet the minLinkWeight threshold of 12.0.