Motivation: High-resolution spatial transcriptomics enables single-cell ligand-receptor analysis, but unmasked receptor spatial lags include receptor expression from non-target neighbors, complicating the attribution of local communication signals to specified source-target cell-type pairs. Results: We present MaskTalk, a Python package implementing the cell-identity-gated spatial lag model (CIG-SLM). CIG-SLM restricts receptor-side neighborhoods to target cells through W^(c)=WD^(c). In cell-level breast cancer Visium HD data, CIG-SLM produced target-cell-dependent communication profiles relative to the matched LIANA+ bivariate unmasked baseline, and masked-specific records showed larger between-condition effect sizes and shorter physical source-target distances. Public breast cancer Xenium data demonstrated that MaskTalk runs on external cell-level spatial data and exhibits target-aware masking behavior. Availability and Implementation: Implemented in Python with AnnData; code is available at https://github.com/JiaPP1994/MaskTalk. Software and data archive DOIs are 10.5281/zenodo.20814049 and 10.5281/zenodo.20812933, respectively. Contact: [email protected]; [email protected] Supplementary Information: Supplementary Methods S1-S4, Figures S1-S3, and Tables S1-S5.
Jia, P., Chu, L., Ren, Z., Cui, H., Shao, B.
Advertisement
Stats
- Recommendations n/a n/a positive of 0 vote(s)
- Views 3
- Comments 0
