Skip to main content

Cell-type specific aging clocks for immune cells based on gene regulatory networks

Project description

GRNimmuneClock

Cell-Type Specific Aging Clocks for Immune Cells

GRNimmuneClock provides pre-trained aging clocks for immune cell types, built using gene regulatory network (GRN) analysis. Predict biological age from gene expression data with cell-type specific models trained on multiple cohorts.

Features

  • 🔬 Cell-Type Specific: Separate models for CD4T and CD8T cells
  • 📊 High Performance: Trained on multiple cohorts with Spearman corr > 0.8.
  • 🧬 GRN-Based: Uses gene regulatory network-informed features
  • 🔗 Network Analysis: Access GRNs for TF-target exploration
  • 🎨 Visualization Tools: Built-in plotting functions for analysis
  • 🚀 Easy to Use: Simple Python API
  • 🔧 Training Pipeline: Tools to train custom aging clocks

Installation

pip install grnimmuneclock

Or install from source:

git clone https://github.com/janursa/GRNimmuneClock.git
cd GRNimmuneClock
pip install -e .

Quick Start

from grnimmuneclock import AgingClock, load_example_data
import grnimmuneclock.plotting as gplot

# Load pre-trained clock for CD4T cells
clock = AgingClock(cell_type='CD4T')

# Load example data
adata = load_example_data()

# Predict biological age
adata_predicted = clock.predict(adata)
print(adata_predicted.obs['predicted_age'])

# Visualize predictions
gplot.plot_predicted_vs_actual(adata_predicted, hue='sex')

See the tutorial.ipynb for more.

Supported Cell Types

  • CD4T: CD4+ T cells
  • CD8T: CD8+ T cells

Model Information

All models are:

  • Algorithm: Ridge regression with StandardScaler
  • Features: Gene expression values (target genes from GRN analysis)
  • Training: Multiple cohorts (European, Korean, Japanese, Chinese)
  • Age Range: 20-80 years
  • Species: Human
  • Tissue: Peripheral blood

Citation

If you use GRNimmuneClock in your research, please cite:

@article{nourisa2025grnimmuneclock,
  title={TBD},
  author={Nourisa, Jalil and others},
  journal={TBD},
  year={2025}
}

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For questions and issues, please open an issue on GitHub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grnimmuneclock-1.0.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

grnimmuneclock-1.0.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file grnimmuneclock-1.0.0.tar.gz.

File metadata

  • Download URL: grnimmuneclock-1.0.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for grnimmuneclock-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2d89926820b999777cf1136e6ccd6727074e9f38ee6b773693dbcfb22e9d85e4
MD5 c2904e099fbc7d8fd55c1c02e199fed7
BLAKE2b-256 4ac3a82f0e2fc67ab09527f5c1f04930563238997db6d8d01e17483e4e1cb238

See more details on using hashes here.

File details

Details for the file grnimmuneclock-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: grnimmuneclock-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for grnimmuneclock-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e015a3777589e9ddede40b4447f57e16e631f1b7ec859b6f2ffc08a0b7ba42f7
MD5 35e38dd28cf0e036485a2ff3059cda39
BLAKE2b-256 468f5d680b0b82e15e7c5ef1d19b5f57ca121b33d3738ec861f138ea92c834d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page