Deep contrastive learning framework identifies cell-type-specific drug targets in Alzheimer's disease.
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 77 lines · 3 KB · no license
- import pickle
- import numpy as np
- from sklearn.metrics import average_precision_score, roc_auc_score
- RESULT_DIR_WITH_GENE = '../trained_models/finetune_GATv2_i512_h256_o128_all_ppi_{}_w_gene/fold_{}/finetune_GATv2_i512_h256_o128_all_ppi_{}_w_gene_{}_results.pkl'
- RESULT_DIR_NO_GENE = '../trained_models/finetune_GATv2_i256_h256_o128_all_ppi_{}/fold_{}/finetune_GATv2_i256_h256_o128_all_ppi_{}_{}_results.pkl'
- KFOLDS = 10
- EPOCHS = 200
- DATA_TYPES = ['cell_vs_rest_up_only_rosmap_nature2024']
- def main():
- # results with gene
- print('Results with gene')
- for data_type in DATA_TYPES:
- kfold_cv_results = dict()
- for fold in range(KFOLDS):
- aps = []
- aurocs = []
- for epoch in range(EPOCHS):
- with open(RESULT_DIR_WITH_GENE.format(data_type, fold, data_type, epoch), 'rb') as f:
- results = pickle.load(f)
- y = results['test_results']['y']
- output = results['test_results']['output']
- ap = average_precision_score(y, output)
- auroc = roc_auc_score(y, output)
- aps.append(ap)
- aurocs.append(auroc)
- kfold_cv_results[fold] = {
- 'best_ap_epoch': aps.index(max(aps)),
- 'best_ap': max(aps),
- 'best_auroc_epoch': aurocs.index(max(aurocs)),
- 'best_auroc': max(aurocs),
- }
- aps = [i['best_ap'] for i in kfold_cv_results.values()]
- aurocs = [i['best_auroc'] for i in kfold_cv_results.values()]
- print(f'Data type: {data_type}')
- print(f'AP: {np.mean(aps):.4f} ± {np.std(aps):.4f}')
- print(f'AUROC: {np.mean(aurocs):.4f} ± {np.std(aurocs):.4f}')
- exit()
- # results without gene
- print('Results without gene')
- for data_type in DATA_TYPES:
- kfold_cv_results = dict()
- for fold in range(KFOLDS):
- aps = []
- aurocs = []
- for epoch in range(EPOCHS):
- with open(RESULT_DIR_NO_GENE.format(data_type, fold, data_type, epoch), 'rb') as f:
- results = pickle.load(f)
- y = results['test_results']['y']
- output = results['test_results']['output']
- ap = average_precision_score(y, output)
- auroc = roc_auc_score(y, output)
- aps.append(ap)
- aurocs.append(auroc)
- kfold_cv_results[fold] = {
- 'best_ap_epoch': aps.index(max(aps)),
- 'best_ap': max(aps),
- 'best_auroc_epoch': aurocs.index(max(aurocs)),
- 'best_auroc': max(aurocs),
- }
- aps = [i['best_ap'] for i in kfold_cv_results.values()]
- aurocs = [i['best_auroc'] for i in kfold_cv_results.values()]
- print(f'Data type: {data_type}')
- print(f'AP: {np.mean(aps):.4f} ± {np.std(aps):.4f}')
- print(f'AUROC: {np.mean(aurocs):.4f} ± {np.std(aurocs):.4f}')
- if __name__ == '__main__':
- main()
check_results.py at commit f775abb, no license · at the source
Overview
- Cleveland Clinic Genome Center, Cleveland Clinic Research, Cleveland Clinic, Cleveland, Ohio, USA
- Department of Genomic Sciences and Systems Biology, Cleveland Clinic Research, Cleveland Clinic, Cleveland, Ohio, USA
- Department of Radiology and Imaging Sciences, Center for Neuroimaging, Indiana University School of Medicine, Indianapolis, Indiana, USA
- Indiana Alzheimer's Disease Research Center, Indiana University School of Medicine, Indianapolis, Indiana, USA
- Department of Medical and Molecular Genetics, Indiana University School of Medicine, Indianapolis, Indiana, USA
- Center for Computational Biology and Bioinformatics, Indiana University School of Medicine, Indianapolis, Indiana, USA
- Department of Molecular Medicine, Case Western Reserve University, Cleveland, Ohio, USA
Abstract
The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.
Repositories
Its files are read in the Code ↔ Paper reader above.
yuxin212/CLARITY
f775abbd5ca8d1b8d294fd543fa2587d0c4b7532, 5 November 2025Availability: 2 checks, the latest on 28 October 2026: the link answers
- 28 October 2026: the link answers
- 27 September 2026: the link answers
28 files
- cl_ft_all_ppi_op_psol/
check_results.py , Python, 77 lines - cl_ft_all_ppi_op_psol/
dataset.py , Python, 58 lines - cl_ft_all_ppi_op_psol/
finetune_kfold.py , Python, 235 lines - cl_ft_all_ppi_op_psol/
models.py , Python, 53 lines - cl_ft_all_ppi_op_psol/
run_finetune_kfold_cell_ , Shell, 17 linesvs_rest_up_only_rosmap_c ell2023.sh - cl_ft_all_ppi_op_psol/
run_finetune_kfold_cell_ , Shell, 17 linesvs_rest_up_only_rosmap_n ature2024.sh - cl_ft_op_psol/
check_results.py , Python, 79 lines - cl_ft_op_psol/
dataset.py , Python, 60 lines - cl_ft_op_psol/
finetune_kfold.py , Python, 250 lines - cl_ft_op_psol/
finetune_kfold_no_gene.p , Python, 250 linesy - cl_ft_op_psol/
models.py , Python, 77 lines - cl_ft_op_psol/
predict.py , Python, 193 lines - cl_ft_op_psol/
run_finetune_kfold_cell_ , Shell, 124 linesvs_rest_up_only_rosmap_c ell2023.sh - cl_ft_op_psol/
run_finetune_kfold_cell_ , Shell, 94 linesvs_rest_up_only_rosmap_n ature2024.sh - cl_ft_op_psol/
run_finetune_kfold_tiga_ , Shell, 94 linesot.sh - cl_ft_op_psol/
run_finetune_kfold_tiga_ , Shell, 94 linesot_no_gene.sh - cl_ft_op_psol/
run_predict_cell_vs_rest , Shell, 32 lines_up_only_rosmap_cell2023 .sh - cl_ft_op_psol/
run_predict_cell_vs_rest , Shell, 32 lines_up_only_rosmap_nature20 24.sh - pretrain/
dataset.py , Python, 368 lines - pretrain/
dist_map.py , Python, 68 lines - pretrain/
models.py , Python, 349 lines - pretrain/
node2vec_emb.py , Python, 90 lines - pretrain/
pretrain_gatv2.py , Python, 93 lines - pretrain/
pretrain_gatv2_nogene.py , Python, 93 lines - pretrain/
run_node2vec.sh , Shell, 58 lines - pretrain/
run_pretrain_gatv2_cell_ , Shell, 26 linesvs_rest_up_only_rosmap_c ell2023_w_gene.sh - pretrain/
run_pretrain_gatv2_cell_ , Shell, 26 linesvs_rest_up_only_rosmap_n ature2024_w_gene.sh - README.md, Text, 48 lines
ChengF-Lab/CLARITY
f775abbd5ca8d1b8d294fd543fa2587d0c4b7532, 5 November 2025Availability: 2 checks, the latest on 28 October 2026: the link answers
- 28 October 2026: the link answers
- 27 September 2026: the link answers
28 files
- cl_ft_all_ppi_op_psol/
check_results.py , Python, 77 lines - cl_ft_all_ppi_op_psol/
dataset.py , Python, 58 lines - cl_ft_all_ppi_op_psol/
finetune_kfold.py , Python, 235 lines - cl_ft_all_ppi_op_psol/
models.py , Python, 53 lines - cl_ft_all_ppi_op_psol/
run_finetune_kfold_cell_ , Shell, 17 linesvs_rest_up_only_rosmap_c ell2023.sh - cl_ft_all_ppi_op_psol/
run_finetune_kfold_cell_ , Shell, 17 linesvs_rest_up_only_rosmap_n ature2024.sh - cl_ft_op_psol/
check_results.py , Python, 79 lines - cl_ft_op_psol/
dataset.py , Python, 60 lines - cl_ft_op_psol/
finetune_kfold.py , Python, 250 lines - cl_ft_op_psol/
finetune_kfold_no_gene.p , Python, 250 linesy - cl_ft_op_psol/
models.py , Python, 77 lines - cl_ft_op_psol/
predict.py , Python, 193 lines - cl_ft_op_psol/
run_finetune_kfold_cell_ , Shell, 124 linesvs_rest_up_only_rosmap_c ell2023.sh - cl_ft_op_psol/
run_finetune_kfold_cell_ , Shell, 94 linesvs_rest_up_only_rosmap_n ature2024.sh - cl_ft_op_psol/
run_finetune_kfold_tiga_ , Shell, 94 linesot.sh - cl_ft_op_psol/
run_finetune_kfold_tiga_ , Shell, 94 linesot_no_gene.sh - cl_ft_op_psol/
run_predict_cell_vs_rest , Shell, 32 lines_up_only_rosmap_cell2023 .sh - cl_ft_op_psol/
run_predict_cell_vs_rest , Shell, 32 lines_up_only_rosmap_nature20 24.sh - pretrain/
dataset.py , Python, 368 lines - pretrain/
dist_map.py , Python, 68 lines - pretrain/
models.py , Python, 349 lines - pretrain/
node2vec_emb.py , Python, 90 lines - pretrain/
pretrain_gatv2.py , Python, 93 lines - pretrain/
pretrain_gatv2_nogene.py , Python, 93 lines - pretrain/
run_node2vec.sh , Shell, 58 lines - pretrain/
run_pretrain_gatv2_cell_ , Shell, 26 linesvs_rest_up_only_rosmap_c ell2023_w_gene.sh - pretrain/
run_pretrain_gatv2_cell_ , Shell, 26 linesvs_rest_up_only_rosmap_n ature2024_w_gene.sh - README.md, Text, 48 lines
Code availability statement
The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: ChengF-Lab/
CLARITY , yuxin212/CLARITY
Read it in the paper: doi.org/10.1002/dad2.70406.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 54 scripts, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Code and data availability statement
The paper has a code and data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:
- it points to the authors' code: ChengF-Lab/
CLARITY , yuxin212/CLARITY
Read it in the paper: doi.org/10.1002/dad2.70406.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Funding: added Alzheimer's Association: ALZDISCOVERY-1051936; National Institute on Aging: R01 AG082118, U01AG073323, R01 AG092591, R01 AG076448, R33 AG083003, R01 AG092462, RF1 AG082211, R01 AG066707, R01AG084250; National Institute of Neurological Disorders and Stroke: RF1NS133812
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 6 keywords, 50 references.
Cite
This paper
Yang, Y., Xu, J., Hou, Y., Zhou, Y., Saykin, A. J., & Cheng, F. (2026). Deep contrastive learning framework identifies cell-type-specific drug targets in Alzheimer's disease. Alzheimer's & dementia (Amsterdam, Netherlands), 18(3), e70406. https://
BibTeX
@article{yang2026deep,
author = {Yang, Yuxin and Xu, Jielin and Hou, Yuan and Zhou, Yadi and Saykin, Andrew J and Cheng, Feixiong},
title = {{Deep contrastive learning framework identifies cell-type-specific drug targets in Alzheimer's disease}},
journal = {Alzheimer's \& dementia (Amsterdam, Netherlands)},
year = {2026},
month = jun,
volume = {18},
number = {3},
pages = {e70406},
publisher = {Wiley},
issn = {2352-8729},
doi = {10.1002/
url = {https://
pmid = {42382038},
pmcid = {PMC13314553}
}
RIS
TY - JOUR
AU - Yang, Yuxin
AU - Xu, Jielin
AU - Hou, Yuan
AU - Zhou, Yadi
AU - Saykin, Andrew J
AU - Cheng, Feixiong
TI - Deep contrastive learning framework identifies cell-type-specific drug targets in Alzheimer's disease
T2 - Alzheimer's & dementia (Amsterdam, Netherlands)
J2 - Alzheimers Dement (Amst)
PY - 2026
DA - 2026/
VL - 18
IS - 3
SP - e70406
SN - 2352-8729
PB - Wiley
DO - 10.1002/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1002/
"type": "article-journal",
"title": "Deep contrastive learning framework identifies cell-type-specific drug targets in Alzheimer's disease",
"container-title": "Alzheimer's & dementia (Amsterdam, Netherlands)",
"author": [
{
"family": "Yang",
"given": "Yuxin"
},
{
"family": "Xu",
"given": "Jielin"
},
{
"family": "Hou",
"given": "Yuan"
},
{
"family": "Zhou",
"given": "Yadi"
},
{
"family": "Saykin",
"given": "Andrew J"
},
{
"family": "Cheng",
"given": "Feixiong"
}
],
"container-title-short":
"volume": "18",
"issue": "3",
"page": "e70406",
"DOI": "10.1002/
"PMID": "42382038",
"PMCID": "PMC13314553",
"ISSN": "2352-8729",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
29
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41531-025-00870-y [code]
- A network-based systems genetics framework identifies pathobiology and drug repurposing in Parkinson's disease.Journal: NPJ Parkinson's diseaseIn common: PyTorch, scikit-learn, NumPy, cellular / molecular, 6 references
- [2] doi:10.1016/j.neurot.2026.e00836 [code]
- Network-based prediction and real-world patient data observation identify doxycycline as a repurposable drug in Alzheimer's disease.Journal: Neurotherapeutics : the journal of the American Society for Experimental NeuroTherapeuticsIn common: PyTorch, scikit-learn, NumPy, Alzheimer's / dementia, 4 references
- [3] doi:10.1038/s41540-024-00449-y [code]
- Network medicine informed multiomics integration identifies drug targets and repurposable medicines for Amyotrophic Lateral Sclerosis.Journal: NPJ systems biology and applicationsIn common: PyTorch, scikit-learn, NumPy, genetics / omics, 3 references
- [4] doi:10.1016/j.molcel.2026.07.006 [code]
- DeorphaNN: Virtual screening of GPCR peptide agonists using AlphaFold-predicted active-state complexes and deep learning embeddings.Journal: Molecular cellIn common: PyTorch Geometric, PyTorch, scikit-learn, 1 other tool, cellular / molecular, 2 references
- [5] doi:10.1038/s41467-025-59654-w [code]
- An integrative systems-biology approach defines mechanisms of Alzheimer's disease neurodegeneration.Journal: Nature communicationsIn common: PyTorch Geometric, PyTorch, scikit-learn, 1 other tool, Alzheimer's / dementia, genetics / omics, cellular / molecular, 1 reference
- [6] doi:10.1126/sciadv.adz9283 [code]
- AI-driven discovery of dual antiaging and anti-AD therapeutics via PROTAC target deconvolution of a super-enhancer-regulated
axis. Journal: Science advancesIn common: PyTorch Geometric, PyTorch, scikit-learn, 1 other tool, Alzheimer's / dementia, genetics / omics, 1 reference - [7] doi:10.1038/s41467-024-49790-0 [code]
- Single cell transcriptomes and multiscale networks from persons with and without Alzheimer's disease.Journal: Nature communicationsIn common: scikit-learn, NumPy, Alzheimer's / dementia, genetics / omics, cellular / molecular, 3 references
- [8] doi:10.1186/s12864-024-10469-x [code]
- HyperGCN: an effective deep representation learning framework for the integrative analysis of spatial transcriptomics data.Journal: BMC genomicsIn common: PyTorch Geometric, PyTorch, scikit-learn, 1 other tool, genetics / omics, cellular / molecular, 1 reference
- [9] doi:10.1016/j.molcel.2026.01.023 [code]
- Unbalanced chromatin binding of Polycomb complexes drives neurodevelopmental disorders.Journal: Molecular cellIn common: PyTorch Geometric, PyTorch, scikit-learn, 1 other tool, genetics / omics, 1 reference
- [10] doi:10.3390/e25020257 [code]
- A Novel Temporal Network-Embedding Algorithm for Link Prediction in Dynamic Networks.Journal: Entropy (Basel, Switzerland)In common: PyTorch Geometric, PyTorch, scikit-learn, 1 other tool, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 2 repositories of the authors' code, each at its verified commit and with its license, 54 scripts, and 0 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:82eba9887f2a5949…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1002/dad2.70406)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1002/dad2.70406.svg
:target: https://openscicode.org/badge/doi/10.1002/dad2.70406
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/dad2.70406"><img src="https://openscicode.org/badge/doi/10.1002/dad2.70406.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
