Yuning You commited on
Commit ·
5db1ffd
1
Parent(s): 646e980
update
Browse files
README.md
CHANGED
|
@@ -13,8 +13,7 @@ tags:
|
|
| 13 |
# CI-FM: Cellular Interaction Foundation Model
|
| 14 |
|
| 15 |
## Overview
|
| 16 |
-
|
| 17 |
-
This is the pytorch implementation of the CI-FM model -- an AI model that can simulate the cellular activities within a living tissue (AI virtual tissue). The signature functions of CI-FM are:
|
| 18 |
- **Embedding** of celllular microenvironments via ```embeddings = model.embed(adata)``` (Figure below panel D top);
|
| 19 |
- **Inference** of cellular gene expressions at a certain microenvironment via ```expressions = model.predict_cells_at_locations(adata, rand_loc)``` (Figure below panel D bottom).
|
| 20 |
|
|
@@ -24,3 +23,19 @@ Before running the tutorial, please set up an environment following the [instruc
|
|
| 24 |
More information about the model can be found in the [preprint]().
|
| 25 |
|
| 26 |

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
# CI-FM: Cellular Interaction Foundation Model
|
| 14 |
|
| 15 |
## Overview
|
| 16 |
+
This is the PyTorch implementation of the CI-FM model -- an AI model that can simulate the cellular activities within a living tissue (AI virtual tissue). The signature functions of CI-FM are:
|
|
|
|
| 17 |
- **Embedding** of celllular microenvironments via ```embeddings = model.embed(adata)``` (Figure below panel D top);
|
| 18 |
- **Inference** of cellular gene expressions at a certain microenvironment via ```expressions = model.predict_cells_at_locations(adata, rand_loc)``` (Figure below panel D bottom).
|
| 19 |
|
|
|
|
| 23 |
More information about the model can be found in the [preprint]().
|
| 24 |
|
| 25 |

|
| 26 |
+
|
| 27 |
+
## Environment
|
| 28 |
+
The environment can be set up via:
|
| 29 |
+
```
|
| 30 |
+
pip install torch==2.1.0 --index-url https://download.pytorch.org/whl/cu118
|
| 31 |
+
pip install torch-scatter torch-sparse torch-cluster torch-geometric -f https://data.pyg.org/whl/torch-2.1.0+cu118.html
|
| 32 |
+
pip install scanpy e3nn
|
| 33 |
+
pip install lightning==2.1.0
|
| 34 |
+
pip install numpy==1.26.4
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
## Citation
|
| 38 |
+
If you use this code for you research, please cite our paper.
|
| 39 |
+
```
|
| 40 |
+
TBD
|
| 41 |
+
```
|