TrimNN: characterizing cellular community motifs for studying multicellular topological organization in complex tissues

Y Yang Yu S Shuang Wang J Jinpu Li M Meichen Yu K Kyle McCrocklin J Jing-Qiong Kang A Anjun Ma Q Qin Ma (School of Chemistry and Molecular Engineering, State Key Laboratory of Materials-Oriented Chemical Engineering, Nanjing Tech University, Nanjing 211816, China) D Dong Xu (Department of Diagnostic Ultrasound Imaging & Interventional Therapy, The Cancer Hospital of the University of Chinese Academy of Sciences (Zhejiang Cancer Hospital), Hangzhou Institute of Medicine (HIM)) J Juexin Wang

Abstract

Abstract The spatial organization of cells plays a pivotal role in shaping tissue functions and phenotypes in various biological systems and diseased microenvironments. However, the topological principles governing interactions among cell types within spatial patterns remain poorly understood. Here, we present the tri angulation cellular community m otif n eural n etwork (TrimNN), a graph-based deep learning framework designed to identify conserved spatial cell organization patterns, termed cellular community (CC) motifs, from spatial transcriptomics and proteomics data. TrimNN employs a semi–divide-and-conquer approach to efficiently detect overrepresented topological motifs of varying sizes in a triangulated space. By uncovering CC motifs, TrimNN reveals key associations between spatially distributed cell-type patterns and diverse phenotypes. These insights provide a foundation for understanding biological and disease mechanisms and offer potential biomarkers for diagnosis and therapeutic interventions.

Article Details

Volume / Issue Vol. 16, Issue 1
Published August 19, 2025
ISSN 2041-1723
Publisher Nature Portfolio

Journal Info

Nature Communications

Nature Portfolio

ISSN: 2041-1723 Open Access Life Sciences

Authors (10)

Y

Yang Yu

S

Shuang Wang

J

Jinpu Li

M

Meichen Yu

K

Kyle McCrocklin

J

Jing-Qiong Kang

A

Anjun Ma

Q

Qin Ma

School of Chemistry and Molecular Engineering, State Key Laboratory of Materials-Oriented Chemical Engineering, Nanjing Tech University, Nanjing 211816, China

D

Dong Xu

Department of Diagnostic Ultrasound Imaging & Interventional Therapy, The Cancer Hospital of the University of Chinese Academy of Sciences (Zhejiang Cancer Hospital), Hangzhou Institute of Medicine (HIM)

J

Juexin Wang