stGP: Characterizing dynamic tissue architectures by identifying cell-type-specific spatiotemporal gene programs
Introduction
stGP is a statistical framework for identifying interpretable cell-type-specific spatiotemporal gene programs (stGPs) from multi-sample spatiotemporal transcriptomic data measured across biological time by deciphering temporal trajectory and dynamic spatial patterns.
stGP's effectiveness relies on our innovations in the integration of Gaussian process priors and interpretable matrix factorization:
- stGP represents gene expression within each cell type as a small set of latent programs with non-negative gene loadings, making each program interpretable as a weighted gene set shared across samples. Variance components quantify the relative contributions of time and space to each program.
- stGP decomposes per-cell program activity into a sample-level temporal component that captures coordinated responses over biological time (e.g., age or stage), and a within-section spatial component that characterizes dynamic program deployment across tissue coordinates without requiring cross-section registration.
- For multi-program inference, stGP adopts a blockwise backfitting scheme that sequentially extracts rank-1 components from residuals, with automatic model selection to determine the number of programs.
Reference
If you find stGP useful for your work, please cite:
Characterizing dynamic tissue architectures by identifying cell-type-specific spatiotemporal gene programs with stGP. Baichen Yu, Ziyue Tan, Xiaomeng Wan, Hansheng Wang, and Can Yang. Working paper, 2026.
Development
The software is developed and maintained by Baichen Yu.
Contact
Please feel free to contact Baichen Yu or Prof. Can Yang if any inquiries.
Metadata
Release files for stgp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stgp-0.1.0.tar.gz | 25.6 kB | Without provenance | Details for stgp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stgp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for stgp-0.1.0-py3-none-any.whl |
Total release size: 51.2 kB
Release files / stgp-0.1.0.tar.gz
| Download URL | stgp-0.1.0.tar.gz |
|---|---|
| Size | 25.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5325efcc24c9373a18b91c625deedf30ac5f65ac19b54d4e76695971f3f5d48
|
|
BLAKE2b-256 checksum How to use checksums |
85f1b894017d0a80e27e65038b533ee79355af4adcfd1018a3f224631055c885
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / stgp-0.1.0-py3-none-any.whl
| Download URL | stgp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65919fa78b1aac6ed175b7ed17e4e270c353b04bb8abd66d22ee3764b9237128
|
|
BLAKE2b-256 checksum How to use checksums |
bf99cddd06c8a63ee1f21a1a747223c90285bb86541790b6eaa55bdcc600910f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for stgp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.