Repurposing drugs for the prevention of vascular dementia using evidence from drug target Mendelian randomization.
The 4 matches
- [1] § Methods › Statistics and reproducibility › Statistical analysis ↔ Cis_DTMR.R, lines 87–131 · score 0.70 · clumping threshold, kb region, genome wide, r2, IVs, cis
- [2] § Results › Sensitivity analyses ↔ Cis&Trans_DTMR.R, lines 2–40 · score 0.61 · weighted median, sufficient instruments, MR Egger, trans, sensitivity, cis
- [3] § Results › Sensitivity analyses ↔ CisLT_DTMR.R, lines 2–43 · score 0.56 · weighted median, sufficient instruments, MR Egger, sensitivity, cis, IVW
- [4] § Methods › Statistics and reproducibility › Statistical analysis ↔ Cis&Trans_DTMR.R, lines 2–40 · score 0.55 · weighted median, MR Egger, Wald ratio, sensitivity, cis, IVW
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 166 lines · 10 KB · MIT · 2 matches
- #########################################
- ### Taylor-Bateman et al., 2025 - Repurposing drugs for the prevention of vascular dementia: Evidence from drug target Mendelian randomization
- ### Cis&Trans_DTMR.R requires 2 input files
- ### An Exposure protein GWAS -
- ### An Outcome GWAS
- Exposure_GWAS <-
- Outcome_GWAS <-
- ### Column should be labeled as follows
- ## ID - rsid of snp
- ## CHROM - Chromosome
- ## POS - Base pair location in build GRCh38_hg38
- ## Effect_allele -
- ## Other_allele -
- ## Beta - Effect
- ## EAF - effect allele frequency if available
- ## SE - standard error
- ## P.value
- ## The following information about your gene of interest is required
- Gene_Name <- ##### Gene identifier
- ### The folling information is needed on the outcome
- Outcome_Name <- ##### Outcome Name
- library(TwoSampleMR)
- library(dplyr)
- library(plyr)
- library(stringr)
- library(ieugwasr)
- library(MendelianRandomization)
- ### A access token is required
- ### Further information about the token system can be found here https://api.opengwas.io/api/
- ### The following outputs will be generated
- ### A table listing the IVs selected
- ### A table with the results of the MR analysis including IVW or wald ratio along with sensitivity analysis of MR-egger and weighted median so long as there are sufficient instruments
- #### Create output tables
- Output_IV_Info <- data.frame(matrix(ncol = 16, nrow = 0))
- x <- c("beta.exposure", "beta.outcome", "effect_allele.exposure",
- "effect_allele.outcome", "exposure", "id.exposure", "other_allele.exposure",
- "other_allele.outcome", "outcome", "pval.exposure", "pval.outcome",
- "SNP" , "SNP_index", "Gene", "Outcome", "Analysis" )
- colnames(Output_IV_Info) <- x
- Output_Results <- data.frame(matrix(ncol = 28, nrow = 0))
- x <- c("Protein","Outcome", "Analysis",
- "IVW_SNPs", "IVW_Est", "IVW_SE" , "IVW_lCI", "IVW_uCI", "IVW_Pvalue", "FStat",
- "WM_SNPs", "WM_Est", "WM_SE" , "WM_lCI", "WM_uCI", "WM_Pvalue",
- "Egg_SNPs", "Egg_Est", "Egg_SE" , "Egg_lCI", "Egg_uCI", "Egg_Pvalue",
- "Egg_Int", "Egg_IntSE" , "Egg_IntlCI", "Egg_IntuCI", "Egg_IntPvalue"
- )
- colnames(Output_Results) <- x
- ####### Analysis
- Exposure_GWAS <- format_data(Exposure_GWAS,
- type = "exposure",
- snp_col = "ID",
- beta_col = "Beta",
- se_col = "SE",
- pval_col = "P.value",
- chr_col = "CHROM",
- pos_col = "POS",
- effect_allele_col = "Effect_allele",
- other_allele_col = "Other_allele",
- eaf_col = "EAF")
- Exp_GWAS <- subset(Exposure_GWAS, Exposure_GWAS$pval.exposure < 1e-04 ) ### subset to minimise data for clumping
- ### clumping, 10000kb region r2 < 0.001, genome wide significance
- Clumping <- 5e-08
- Exp_SNPS <- clump_data(Exp_GWAS, clump_kb = 10000,
- clump_r2 = 0.001,
- clump_p1 = 5e-08,
- clump_p2 = 5e-08,
- pop= "EUR")
- Out_GWAS <- format_data(Outcome_GWAS,
- type = "outcome",
- snp_col = "ID",
- beta_col = "Beta",
- se_col = "SE",
- pval_col = "P.value",
- chr_col = "CHROM",
- pos_col = "POS",
- effect_allele_col = "Effect_allele",
- other_allele_col = "Other_allele",
- eaf_col = "EAF")
- ### Match Exp_SNPS
- matched <- intersect( Out_GWAS$SNP, Exp_SNPS$SNP)
- all <- union(Out_GWAS$SNP, Exp_SNPS$SNP)
- non.matched <- all[!all %in% matched]
- Out_SNPS <- Out_GWAS[ which( ! Out_GWAS$SNP
- %in% non.matched) , ]
- non.matched <- Exp_SNPS$SNP[!Exp_SNPS$SNP
- %in% matched]
- Exp_SNPS <- Exp_SNPS[ which( Exp_SNPS$SNP
- %in% matched) , ]
- Exp_IVs <- Exp_SNPS[order(Exp_SNPS$SNP),]
- Out_IVs <- Out_SNPS[order(Out_SNPS$SNP),]
- ### Harmonise the two datasets
- Harmonised_dat <- harmonise_data(exposure_dat = Exp_IVs, outcome_dat = Out_IVs)
- #### Convert for use in MendelianRandomization Package
- MR_Obj <- dat_to_MRInput(Harmonised_dat, get_correlations = FALSE, pop = "EUR")
- MR1_pIV_pExp <- MR_Obj[[1]]
- ### Runs MR & generates results
- new.row <- data.frame(Protein = Gene_Name, Outcome = Outcome_Name, Analysis = Clumping,
- IVW_SNPs = if (is.numeric(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$SNPs) == FALSE) print(NA) else print(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$SNPs),
- IVW_Est = if (is.numeric(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$Estimate) == FALSE) print(NA) else print(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$Estimate),
- IVW_SE = if (is.numeric(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$StdError) == FALSE) print(NA) else print(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$StdError),
- IVW_lCI = if (is.numeric(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$CILower) == FALSE) print(NA) else print(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$CILower),
- IVW_uCI = if (is.numeric(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$CIUpper) == FALSE) print(NA) else print(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$CIUpper),
- IVW_Pvalue = if (is.numeric(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$Pvalue) == FALSE) print(NA) else print(MendelianRandomization::mr_ivw( MR1_pIV_pExp)$Pvalue),
- FStat = if (is.numeric(MendelianRandomization::mr_ivw(MR1_pIV_pExp)$Fstat) == FALSE) print(NA) else print(MendelianRandomization::mr_ivw(MR1_pIV_pExp)$Fstat),
- WM_SNPs = if (is.numeric(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$SNPs) == FALSE) print(NA) else print(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$SNPs),
- WM_Est = if (is.numeric(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$Estimate) == FALSE) print(NA) else print(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$Estimate),
- WM_SE = if (is.numeric(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$StdError) == FALSE) print(NA) else print(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$StdError),
- WM_lCI = if (is.numeric(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$CILower) == FALSE) print(NA) else print(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$CILower),
- WM_uCI = if (is.numeric(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$CIUpper) == FALSE) print(NA) else print(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$CIUpper),
- WM_Pvalue = if (is.numeric(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$Pvalue) == FALSE) print(NA) else print(MendelianRandomization::mr_median( MR1_pIV_pExp, weighting = "weighted")$Pvalue),
- Egg_SNPs = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$SNPs) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$SNPs),
- Egg_Est = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$Estimate) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$Estimate),
- Egg_SE = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$StdError.Est) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$StdError.Est),
- Egg_lCI = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$CILower.Est) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$CILower.Est),
- Egg_uCI = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$CIUpper.Est) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$CIUpper.Est),
- Egg_Pvalue = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$Pvalue.Est) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$Pvalue.Est),
- Egg_Int = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$Intercept) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$Intercept),
- Egg_IntSE = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$StdError.Int) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$StdError.Int),
- Egg_IntlCI = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$CILower.Int) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$CILower.Int),
- Egg_IntuCI = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$CIUpper.Int) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$CIUpper.Int),
- Egg_IntPvalue = if (is.numeric(MendelianRandomization::mr_egger( MR1_pIV_pExp)$Pvalue.Int) == FALSE) print(NA) else print(MendelianRandomization::mr_egger( MR1_pIV_pExp)$Pvalue.Int)
- )
- #### Adds to results table
- Output_Results <- rbind(Output_Results, new.row)
- ### Saves harmonization table for reference
- SNP_Data <- Harmonised_dat
- SNP_Data <- SNP_Data %>% select(order(colnames(SNP_Data)))
- SNP_Data$Gene <- paste(as.character(Gene_Name))
- SNP_Data$Outcome <- paste(as.character(Outcome_Name))
- SNP_Data$Analysis <- paste(as.character(Clumping))
- SNP_Data<- SNP_Data[c("beta.exposure", "beta.outcome", "effect_allele.exposure",
- "effect_allele.outcome", "exposure", "id.exposure", "other_allele.exposure",
- "other_allele.outcome", "outcome", "pval.exposure", "pval.outcome",
- "SNP" , "SNP_index", "Gene", "Outcome", "Analysis" )]
- Output_IV_Info <- rbind(Output_IV_Info, SNP_Data)
- #### This can be repeated for all outcomes and positive controls
Cis&Trans_DTMR.R at commit 6653613, under MIT · at the source
Overview
- Division of Psychiatry, University College London, London, UK
- Medical Research Council Integrative Epidemiology Unit, Bristol Medical School, University of Bristol, Bristol, UK
- Department of Surgery, Perelman School of Medicine, University of Pennsylvania, Philadelphia, PA USA
- Cerebrovascular and Dementia Research Group, Bristol Medical School, University of Bristol, Learning & Research, Southmead Hospital, Bristol, UK
- Department of Clinical Biochemistry, Copenhagen University Hospital – Bispebjerg and Frederiksberg, Copenhagen, Denmark
- Population Health Sciences, Bristol Medical School, University of Bristol, Bristol, UK
- Department of Statistical Science, University College London, London, UK
- Department of Public Health and Nursing, Norwegian University of Science and Technology, Trondheim, Norway
- Unit for lifelong health and ageing, University College London, London, UK
Abstract
Vascular dementia (VaD) is a devastating cerebrovascular disease with no disease-modifying treatments. Repurposing drugs for known risk factors could have clinical impact. Using Mendelian randomization, we proxied 46 lipid-lowering, antihypertensive and anti-inflammatory drug effects across five VaD outcomes: clinical diagnosis (N = 7,009 cases, N = 899,672 non-cases/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.
Zenodo 15190762
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
- 29 September 2026: the link answers (HTTP 200)
7 files
- Cis&
Trans_DTMR.R , R, 166 lines - CisLT_DTMR.R, R, 179 lines
- Cis_DTMR.R, R, 187 lines
- GColoc_DTMR.R, R, 274 lines
- SNPColoc_DTMR.R, R, 308 lines
- LICENSE, License, 21 lines
- README.md, Text, 149 lines
victoriatb/vad_dtmr2025
66536134430b9062473617a901ecf49953f430af, 15 August 2025Availability: 1 check, the latest on 29 September 2026: the link answers
- 29 September 2026: the link answers
7 files
- Cis&
Trans_DTMR.R , R, 166 lines, 2 matches - CisLT_DTMR.R, R, 179 lines, 1 match
- Cis_DTMR.R, R, 187 lines, 1 match
- GColoc_DTMR.R, R, 274 lines
- SNPColoc_DTMR.R, R, 308 lines
- LICENSE, License, 21 lines
- README.md, Text, 149 lines
Code availability
Code used in this study is available via Zenodo at 10.5281/
Reproduced under the paper's license (CC BY), from the paper cited above.
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;
- 10 scripts, each with its path and the digest of its content;
- 4 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- 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.
Data availability
All summary statistics were obtained from publicly available datasets, with details from the original papers as described in Table 2, refs. 15,25,30,31,34–41,48,49,
Reproduced under the paper's license (CC BY), from the paper cited above.
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 1, 29 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 4 keywords, 8 MeSH terms, 2 funders, 54 references.
Cite
This paper
Taylor-Bateman, V., Bothongo, P., Walker, V., Kehoe, P. G., Nordestgaard, L. T., Ben-Shlomo, Y., Davies, N. M., Williams, D. M., & Anderson, E. L. (2026). Repurposing drugs for the prevention of vascular dementia using evidence from drug target Mendelian randomization. Nature aging, 6(4), 905-915. https://
BibTeX
@article{taylorbateman20
author = {Taylor-Bateman, Victoria and Bothongo, Phazha and Walker, Venexia and Kehoe, Patrick G and Nordestgaard, Liv Tybjærg and Ben-Shlomo, Yoav and Davies, Neil M and Williams, Dylan M and Anderson, Emma L},
title = {{Repurposing drugs for the prevention of vascular dementia using evidence from drug target Mendelian randomization}},
journal = {Nature aging},
year = {2026},
month = apr,
volume = {6},
number = {4},
pages = {905--915},
publisher = {Nature Portfolio},
issn = {2662-8465},
doi = {10.1038/
url = {https://
pmid = {42009889},
pmcid = {PMC13099373}
}
RIS
TY - JOUR
AU - Taylor-Bateman, Victoria
AU - Bothongo, Phazha
AU - Walker, Venexia
AU - Kehoe, Patrick G
AU - Nordestgaard, Liv Tybjærg
AU - Ben-Shlomo, Yoav
AU - Davies, Neil M
AU - Williams, Dylan M
AU - Anderson, Emma L
TI - Repurposing drugs for the prevention of vascular dementia using evidence from drug target Mendelian randomization
T2 - Nature aging
J2 - Nat Aging
PY - 2026
DA - 2026/
VL - 6
IS - 4
SP - 905
EP - 915
SN - 2662-8465
PB - Nature Portfolio
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Repurposing drugs for the prevention of vascular dementia using evidence from drug target Mendelian randomization",
"container-title": "Nature aging",
"author": [
{
"family": "Taylor-Bateman",
"given": "Victoria"
},
{
"family": "Bothongo",
"given": "Phazha"
},
{
"family": "Walker",
"given": "Venexia"
},
{
"family": "Kehoe",
"given": "Patrick G"
},
{
"family": "Nordestgaard",
"given": "Liv Tybjærg"
},
{
"family": "Ben-Shlomo",
"given": "Yoav"
},
{
"family": "Davies",
"given": "Neil M"
},
{
"family": "Williams",
"given": "Dylan M"
},
{
"family": "Anderson",
"given": "Emma L"
}
],
"container-title-short":
"volume": "6",
"issue": "4",
"page": "905-915",
"DOI": "10.1038/
"PMID": "42009889",
"PMCID": "PMC13099373",
"ISSN": "2662-8465",
"publisher": "Nature Portfolio",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
20
]
]
}
}
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.1016/j.tjpad.2026.100635 [code]
- Can we identify people with Alzheimer's disease from examination of the eye? A bidirectional Mendelian randomization (MR) study.Journal: The journal of prevention of Alzheimer's diseaseIn common: Alzheimer's / dementia, genetics / omics, 1 reference, 3 authors
- [2] doi:10.1371/journal.pcbi.1014422 [code]
- Deciphering cell type-specific causal genetic effects on brain imaging-derived phenotypes and disorders with single-cell Mendelian randomization.Journal: PLoS computational biologyIn common: tidyverse, genetics / omics, 8 references
- [3] doi:10.1038/s41398-026-04137-9 [code]
- An integrative mendelian randomisation and drug mechanism framework for target prioritisation and therapeutic repurposing in major depression.Journal: Translational psychiatryIn common: genetics / omics, 7 references
- [4] doi:10.1186/s12967-026-08266-z [code]
- Single-cell multi-omic integration analysis prioritizes druggable genes and reveals cell-type-specific causal effects in glioblastomagenesis.Journal: Journal of translational medicineIn common: tidyverse, genetics / omics, 5 references
- [5] doi:10.1038/s41598-026-51734-1 [code]
- Genome-wide association study of positive and negative affect reveals shared genetic architecture and a potential causal relationship with cognition.Journal: Scientific reportsIn common: tidyverse, genetics / omics, 5 references
- [6] doi:10.64898/2026.08.12.26360241
- Diffusion kurtosis imaging (gen)omics unravels mechanisms of cerebral small vessel diseaseJournal: medRxiv (preprint)In common: stroke, Alzheimer's / dementia, structural MRI / diffusion, 1 other category, 3 references
- [7] doi:10.1161/jaha.125.046208
- Integration of Genome-Wide Association Studies With Single-Cell and Bulk Expression Quantitative Trait Locus to Identify Stroke Susceptibility Genes.Journal: Journal of the American Heart AssociationIn common: stroke, genetics / omics, 4 references
- [8] doi:10.1038/s43587-026-01204-0
- Fibronectin mediates APOE4-driven blood-brain barrier dysfunction in Alzheimer's disease.Journal: Nature agingIn common: Alzheimer's / dementia, genetics / omics, 4 references
- [9] doi:10.3389/ebm.2026.10948
- Genetic evidence for causal relationships between brain functional networks and domain-specific recovery after nondisabling ischemic stroke.Journal: Experimental biology and medicine (Maywood, N.J.)In common: stroke, genetics / omics, 4 references
- [10] doi:10.1136/svn-2025-004208 [code]
- Genetically predicted white matter microstructure mediates the relationship between risk factors and lacunar stroke.Journal: Stroke and vascular neurologyIn common: tidyverse, stroke, structural MRI / diffusion, genetics / omics, 2 references
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, 10 scripts, and 4 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:08811d697d1d9fa6…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
