Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.82 KB

README.md

File metadata and controls

35 lines (21 loc) · 1.82 KB

ConGRI

Accurate inference of gene regulatory interactions from spatial gene expression with deep contrastive learning

Reverse engineering of gene regulatory networks (GRNs) has been an attractive research topic in system biology. In recent years, high-throughput spatial gene expression data has shed light on breakthrough development for the inference of GRNs. ConGRI is a contrastive learning scheme based on deep Siamese CNN architecture, which identifies gene regulatory interactions from gene expression images.

Dataset

To evaluate ConGRI, we use the eye dataset and mesoderm dataset. ConGRI outperforms previous traditional and deep learning methods by a large margin, which achieves accuracies of 76.7% and 68.7% for the GRNs of early eye development and mesoderm development, respectively.

image

Code

we perform a two-stage learning procedure, corresponding to feature extraction and decision, respectively. In the first stage, we construct a Siamese network with two heads, whose inputs are the expression images of TF and candidate target gene, respectively. In the second stage, we first average the extracted image features for each gene pair and then perform the prediction.

image

Feature extractor

Extracting the features by contrastive learning

python train_valid.py

Decision

Load and aggregate the feature embeddings extracted from the first stage

python embedding_loading.py
python aggregation.py

Predict the gene regulatory relationship in the gene-level by Multiple Instance Learning(MIL)

python decision_MIL.py