WITHDRAWN: Can glucagon like peptide-1 receptor agonists be beneficial for brain health?
The 3 matches
- [1] § Methods › Statistical analysis › MR methods ↔ mr_script.r, lines 104–151 · score 0.71 · horizontal pleiotropy, MR PRESSO, MR Egger, instruments
- [2] § Methods › Statistical analysis › MR methods ↔ mr_script.r, lines 104–151 · score 0.52 · odds ratios, beta, regression, instruments, exposure, MR
- [3] § Methods › Statistical analysis ↔ mr_script.r, lines 1–55 · score 0.50 · TwoSampleMR, models, linear, allele, logistic, Exposure
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 · 151 lines · 4.6 KB · no license · 3 matches
- # load the library
- # remotes::install_github("MRCIEU/TwoSampleMR") # nolint: commented_code_linter.
- library(TwoSampleMR)
- library(ggplot2)
- library(dplyr)
- args <- commandArgs(trailingOnly = TRUE)
- outcome <- args[1]
- exposure_file <- args[2]
- outcome_base <- args[3]
- output_dir <- args[4]
- use_or_col <- as.logical(as.integer(args[5]))
- # Pick the right outcome file extension
- # if (use_or_col) {
- # outcome_file <- paste0(outcome_base, ".glm.logistic.hybrid")
- # message("Detected logistic model > using file: ", outcome_file)
- # } else {
- # outcome_file <- paste0(outcome_base, ".glm.linear")
- # message("Detected linear model > using file: ", outcome_file)
- # }
- outcome_file <- outcome_base
- # Load outcome
- if (use_or_col) {
- outcome_dat <- read_outcome_data(
- outcome_file,
- sep = "\t",
- snp_col = "ID",
- beta_col = "OR",
- se_col = "LOG(OR)_SE",
- eaf_col = "A1_FREQ",
- effect_allele_col = "A1",
- other_allele_col = "OMITTED",
- pval_col = "P",
- samplesize_col = "OBS_CT"
- )
- outcome_dat <- outcome_dat %>% mutate(beta.outcome = log(beta.outcome))
- } else {
- outcome_dat <- read_outcome_data(
- outcome_file,
- sep = "\t",
- snp_col = "ID",
- beta_col = "BETA",
- se_col = "SE",
- eaf_col = "A1_FREQ",
- effect_allele_col = "A1",
- other_allele_col = "OMITTED",
- pval_col = "P",
- samplesize_col = "OBS_CT"
- )
- }
- outcome_dat$outcome <- outcome
- outcome_dat$id.outcome <- outcome
- # Load exposure
- exposure_dat <- read_exposure_data(
- exposure_file,
- clump = FALSE,
- sep = "\t",
- snp_col = "SNP",
- beta_col = "beta",
- se_col = "se",
- eaf_col = "eaf",
- effect_allele_col = "effect_allele",
- other_allele_col = "other_allele",
- pval_col = "pval"
- )
- # exposure_dat <- read_exposure_data(
- # exposure_file,
- # clump = FALSE,
- # sep = "\t",
- # snp_col = "RSID",
- # beta_col = "BETA",
- # se_col = "SE",
- # eaf_col = "EFFECT_ALLELE_FREQ",
- # effect_allele_col = "EFFECT_ALLELE",
- # other_allele_col = "OTHER_ALLELE",
- # pval_col = "P"
- # )
- # Add phenotype label for clarity in output
- exposure_dat$exposure <- "GLP1"
- exposure_dat$id.exposure <- "GLP1"
- # Harmonise
- dat <- harmonise_data(exposure_dat, outcome_dat)
- write.csv(dat, sprintf("%s/mr_harmonised.csv",
- output_dir), row.names = FALSE)
- # Run MR
- mr_results <- mr(dat)
- # , method_list = c("mr_simple_mode",
- # "mr_ivw",
- # "mr_weighted_mode",
- # "mr_egger_regression")
- # Save results in a file
- write.csv(mr_results, sprintf("%s/mr_results.csv",
- output_dir), row.names = FALSE)
- # Approximate F-statistic for each instrument
- exposure_dat <- exposure_dat %>%
- mutate(F_statistic = (beta.exposure^2) / (se.exposure^2))
- stats <- summary(exposure_dat$F_statistic)
- write.csv(as.data.frame(t(stats)), sprintf("%s/mr_exposure_Fstats.csv",
- output_dir), row.names = TRUE)
- # odds_ratio <- mr_results %>% mutate(
- # or = exp(mr_results$b),
- # up_ci = exp(mr_results$b + 1.96 * mr_results$se),
- # lo_ci = exp(mr_results$b - 1.96 * mr_results$se)
- # )
- # write.csv(odds_ratio, sprintf("%s/mr_odds_ratio.csv",
- # output_dir), row.names = FALSE)
- odds_ratio <- generate_odds_ratios(mr_results)
- write.csv(odds_ratio, sprintf("%s/mr_odds_ratio.csv",
- output_dir), row.names = FALSE)
- print("------------- Odds Ratios -------------")
- print(odds_ratio)
- # lower_level <- min(exp(mr_results$b - 1.96*mr_results$se)) # nolint: commented_code_linter, line_length_linter.
- # upper_level <- max(exp(mr_results$b + 1.96*mr_results$se)) # nolint: commented_code_linter, line_length_linter.
- print("---------------------------------------")
- # leave one out method
- mr_leaveoneout <- mr_leaveoneout(dat, method = mr_egger_regression)
- write.csv(mr_leaveoneout, sprintf("%s/mr_leaveoneout.csv",
- output_dir), row.names = FALSE)
- # heterogeneity test
- mr_heterogeneity <- mr_heterogeneity(dat)
- write.csv(mr_heterogeneity, sprintf("%s/mr_heterogeneity.csv",
- output_dir), row.names = FALSE)
- # test for horizontal pleiotropy
- mr_pleiotropy_test <- mr_pleiotropy_test(dat)
- write.csv(mr_pleiotropy_test, sprintf("%s/mr_pleiotropy_test.csv",
- output_dir), row.names = FALSE)
- res_single <- mr_singlesnp(dat)
- write.csv(res_single, sprintf("%s/mr_singlesnp.csv",
- output_dir), row.names = FALSE)
- presso_results <- run_mr_presso(dat)
- write.csv(presso_results, sprintf("%s/mr_presso.csv",
- output_dir), row.names = FALSE)
mr_script.r at commit 2c27edd, no license · at the source
Overview
- University College London Hospital, NHS Foundation Trust, London, UK
- Department of Pharmacology and Therapeutics, University of Liverpool, UK
- Facultad de Psicología, Universidad de la República, Uruguay
Abstract
Background: GLP-1 receptor agonists (GLP-1 RAs) are widely used for treatment of type 2 diabetes and obesity and have demonstrated cardiovascular benefits, but their effect on dementia risk is uncertain. We used a drug-target Mendelian randomisation (MR) framework to estimate the causal effect of GLP-1 receptor (GLP-1R) agonism on dementia risk and brain structure.
Methods: We used single nucleotide polymorphisms (SNPs) in GLP1R to recapitulate the effect of GLP1-RAs against circulating markers of glucose, glycated haemoglobin and outcomes of type 2 diabetes and obesity, to understand if we can reliably proxy agonism at GLP1R using gene variants. We then considered clinical outcomes, including all-cause dementia, vascular dementia, Alzheimer’s disease, and neuroimaging outcomes. Analyses were conducted in UK Biobank and replicated in FinnGen and All of Us and results were combined using meta-analysis.
Findings: Genetically proxied GLP-1R agonism was associated with a 17% lower risk of vascular dementia, with directional consistency across the two largest cohorts. No consistent association was observed for all-cause dementia. An elevated risk of Alzheimer’s disease was observed in UK Biobank but was not replicated in FinnGen or All of Us, and the pooled estimate across cohorts was null. There was no consistent evidence of an effect on neuroimaging outcomes, though higher GLP-1R agonism was associated with greater total brain volume.
Interpretation: Genetic evidence supports a potential protective effect of GLP-1R agonism on vascular dementia, consistent with the established cardio-metabolic benefits of this drug class. The null pooled finding for Alzheimer’s disease suggests that GLP-1R agonism does not meaningfully modify neurodegenerative pathways specific to this disease, though results from ongoing clinical trials are awaited. These findings highlight the importance of distinguishing between dementia subtypes when evaluating the cognitive effects of cardiometabolic therapies.
Funding: This work is funded by Diabetes Research & Wellness Foundation, Professor David Matthews Non-Clinical Fellowship to VG (ref: SCA/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.
MetRXlab/spectra
2c27edd80fd0fd18d34ca4408a6e89d3d01f93c5, 5 January 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
8 files
- genotype.py, Python, 541 lines
- mr_script.r, R, 151 lines, 3 matches
- mr_wrapper.py, Python, 25 lines
- phenotype.py, Python, 136 lines
- regression.py, Python, 169 lines
- run_analysis.py, Python, 128 lines
- utils.py, Python, 159 lines
- README.md, Text, 28 lines
The paper's code and data availability statement is in the Data section.
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:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 7 scripts, each with its path and the digest of its content;
- 3 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 sharing
No additional data is available. The software has been developed by the authors and has been made publicly available at https://
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 2, 28 September 2026
- Authors: added Andrew Mason (0000-0003-1502-2088); Victoria Garfield (0000-0002-5127-0890); removed Andrew Mason; Victoria Garfield
Version 1, 28 September 2026: the first record
Recorded: type, journal, dates, 6 authors, 1 funder, 22 references.
Cite
This paper
Ballabio, G., Mason, A., Paz, V., Dale, C., Sofat, R., & Garfield, V. (2026). WITHDRAWN: Can glucagon like peptide-1 receptor agonists be beneficial for brain health? medRxiv (preprint). https://
BibTeX
@article{ballabio2026wit
author = {Ballabio, Giulia and Mason, Andrew and Paz, Valentina and Dale, Caroline and Sofat, Reecha and Garfield, Victoria},
title = {{WITHDRAWN: Can glucagon like peptide-1 receptor agonists be beneficial for brain health?
journal = {medRxiv (preprint)},
year = {2026},
month = may,
publisher = {medRxiv},
doi = {10.64898/
url = {https://
}
RIS
TY - JOUR
AU - Ballabio, Giulia
AU - Mason, Andrew
AU - Paz, Valentina
AU - Dale, Caroline
AU - Sofat, Reecha
AU - Garfield, Victoria
TI - WITHDRAWN: Can glucagon like peptide-1 receptor agonists be beneficial for brain health?
T2 - medRxiv (preprint)
J2 - medRxiv
PY - 2026
DA - 2026/
PB - medRxiv
DO - 10.64898/
UR - https://
ER -
CSL-JSON
{
"id": "10.64898/
"type": "article",
"title": "WITHDRAWN: Can glucagon like peptide-1 receptor agonists be beneficial for brain health?
"container-title": "medRxiv (preprint)",
"author": [
{
"family": "Ballabio",
"given": "Giulia"
},
{
"family": "Mason",
"given": "Andrew"
},
{
"family": "Paz",
"given": "Valentina"
},
{
"family": "Dale",
"given": "Caroline"
},
{
"family": "Sofat",
"given": "Reecha"
},
{
"family": "Garfield",
"given": "Victoria"
}
],
"container-title-short":
"DOI": "10.64898/
"publisher": "medRxiv",
"URL": "https://
"issued": {
"date-parts": [
[
2026,
5,
17
]
]
}
}
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.64898/2026.03.12.26348052
- Sex-specific differences in nonlinear associations between glycaemia and brain health in UK BiobankJournal: medRxiv (preprint)In common: stroke, 1 reference, author Victoria Garfield
- [2] doi:10.1038/s41467-026-74038-4 [code]
- Semaglutide attenuates neuroinflammation in male mice.Journal: Nature communicationsIn common: ggplot2, tidyverse, pandas, 1 other tool, Alzheimer's / dementia, cellular / molecular, 1 reference
- [3] doi:10.1136/svn-2024-003690 [code]
- Associations of accelerated biological ageing with incident dementia, cognitive functions and brain structure: a prospective cohort study based on UK Biobank.Journal: Stroke and vascular neurologyIn common: ggplot2, tidyverse, stroke, Alzheimer's / dementia, 2 references
- [4] doi:10.1038/s41398-026-04292-z [code]
- Regional juxtacortical microstructural changes and gene expression provide insights into neurodegeneration in Alzheimer's disease.Journal: Translational psychiatryIn common: ggplot2, tidyverse, pandas, 1 other tool, Alzheimer's / dementia, cellular / molecular, 1 reference
- [5] doi:10.21203/rs.3.rs-9246968/v1 [code]
- Copy number variants reveal divergent genetic and diagnostic cortical signatures across psychiatric disordersJournal: Research Square (preprint)In common: ggplot2, tidyverse, pandas, 1 other tool, 2 references
- [6] doi:10.1038/s41586-026-10444-4 [code]
- A brain reward circuit inhibited by next-generation weight-loss drugs in mice.Journal: NatureIn common: ggplot2, tidyverse, pandas, 1 other tool, 1 reference
- [7] doi:10.1073/pnas.2609814123 [code]
- Genetic architectures of brain-related traits are shaped by strong selective constraints.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: ggplot2, tidyverse, pandas, 1 other tool, cellular / molecular, 1 reference
- [8] doi:10.1038/s41467-026-76676-0 [code]
- Determinants of functional burden pleiotropy and gene dosage responses across human traits.Journal: Nature communicationsIn common: ggplot2, tidyverse, pandas, 1 other tool, cellular / molecular, 1 reference
- [9] doi:10.1016/j.xgen.2026.101280 [code]
- BMI-genome interactions regulate global gene expression with emphasis in brain and gut.Journal: Cell genomicsIn common: ggplot2, tidyverse, pandas, 1 other tool, cellular / molecular, 1 reference
- [10] doi:10.1038/s41467-026-73996-z [code]
- Genetic architecture of white matter microstructure captured by unsupervised deep representation learning of fractional anisotropy maps.Journal: Nature communicationsIn common: ggplot2, tidyverse, pandas, 1 other tool, cellular / molecular, 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: 1 repository of the authors' code, each at its verified commit and with its license, 7 scripts, and 3 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:651ec7dea4031cee…
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.
