MetaTiME
MetaTiME: Meta-components in Tumor immune MicroEnvironment
Install / Use
/learn @yi-zhang/MetaTiMEREADME
MetaTiME: Meta-components in Tumor immune MicroEnvironment
<p align="left"><img src="https://raw.githubusercontent.com/yi-zhang/MetaTiME/main/docs/source/_static/img/logo.png" width="290" height="240"></p>MetaTiME learns data-driven, interpretable, and reproducible gene programs by integrating millions of single cells from hundreds of tumor scRNA-seq data. The idea is to learn a map of single-cell space with biologically meaningful directions from large-scale data, which helps understand functional cell states and transfers knowledge to new data analysis. MetaTiME provides pretrained meta-components (MeCs) to automatically annotate fine-grained cell states and plot signature continuum for new single-cells of tumor microenvironment.
Installation
Create a new virtual env and activate (optional)
python -m venv metatime-env; source metatime-env/bin/activate
Use pip to install
pip install metatime
Installation shall be in minutes .
Next we have a tutorial on applying MetaTiME on new TME scRNAseq data to annotate cell states, scoring signature continuum, and test differential signature activity.
Usage
MetaTiME-Annotator
- Use MetaTiME to automatically annotate cell states and map signatures
- [New] MetaTiME re-training pipeline at https://github.com/yi-zhang/MetaTiMEpretrain/
Interactive tutorial
Use MetaTiME to automatically annotate cell states and map signatures
Method
<p align="left"><img src="https://raw.githubusercontent.com/yi-zhang/MetaTiME/main/docs/source/_static/img/fig1.png" width="700" height="400"></p>Reference
Repo continously being improved! More details will be updated and suggested improvements welcome.
- [Paper at Nature Communications] (https://www.nature.com/articles/s41467-023-38333-8)
- Paper at bioRxiv
Training Datasets
Tumor scRNAseq Data for MetaTiME @ Zenodo
-
A large collection of uniformly processed tumor single-cell RNA-seq.
-
Includes raw data and MetaTiME score for the TME cells.
Dependency
- pandas
- scanpy
- anndata
- matplotlib
- adjustText
- leidenalg
- harmonypy
Dependency version tested:
- pandas==1.1.5
- scanpy==1.8.2
- anndata==0.8.0
- matplotlib==3.5.1
- adjustText==0.7.3
- leidenalg==0.8.3
Contact
Yi Zhang, Ph.D.
yiz [AT] ds.dfci.harvard.edu
Twitter | Website Research Fellow Department of Data Science Dana-Farber Cancer Institute Harvard University T.H. Chan School of Public Health
Related Skills
node-connect
341.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
