Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.28 KB

File metadata and controls

37 lines (30 loc) · 1.28 KB

Codes for reproducing results in ``Bi-level Graph Learning Unveils Prognosis-Relevant Tumor Microenvironment Patterns from Breast Multiplexed Digital Pathology''

1. Install (If not done)

git clone https://github.com/JasmineZhen218/BiGraph4TME.git
cd BiGraph4TME
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

2. Download Single Cell Data

3. Fit BiGraph Model

cd Demo
export OPENBLAS_NUM_THREADS=1 export GOTO_NUM_THREADS=1 export OMP_NUM_THREADS=1 python fit_all.py



4. Reproduce figures

python fig[X].py

Note: Run fig[X]_tnbc.py needs external validation set -2 exist in Demo/Datasets/Wang_et_al