friends.test: rank-based method for feature selection in interaction matrices
Alexandra Suvorikova, Alexey Kroshnin, Dmirijs Lvovs, Vera Mukhina, Andrey Mironov, Elana J. Fertig, Ludmila Danilova, Alexander Favorov
TL;DR
The paper tackles the challenge of identifying informative, specific interactions within a bipartite interaction matrix when data are heterogeneous across sources. It introduces friends.test, a rank-based, scale-invariant approach that detects structural breaks in per-entity interaction profiles using a two-component mixture model and information-criterion-based model selection. Applied to head and neck cancer transcriptomics (GSE112026), the method yields a stable set of cancer-specific gene markers and enables downstream functional analysis and clustering, with strong statistical significance ($p<10^{-6}$) under permutation testing. The approach offers a scalable, unsupervised tool for feature selection and graph sparsification in heterogeneous bipartite data, with practical implications for identifying tissue- or condition-specific biomarkers and for elucidating functional relationships among markers.
Abstract
The analysis of the interaction matrix between two distinct sets is essential across diverse fields, from pharmacovigilance to transcriptomics. Not all interactions are equally informative: a marker gene associated with a few specific biological processes is more informative than a highly expressed non-specific gene associated with most observed processes. Identifying these interactions is challenging due to background connections. Furthermore, data heterogeneity across sources precludes universal identification criteria. To address this challenge, we introduce \textsf{friends.test}, a method for identifying specificity by detecting structural breaks in entity interactions. Rank-based representation of the interaction matrix ensures invariance to heterogeneous data and allows for integrating data from diverse sources. To automatically locate the boundary between specific interactions and background activity, we employ model fitting. We demonstrate the applicability of \textsf{friends.test} on the GSE112026 -- transnational data from head and neck cancer. A computationally efficient \textsf{R} implementation is available at https://github.com/favorov/friends.test.
