OSCR

Blood DNA methylation signature of cognitive reserve moderates the association between CSF tau pathology and memory in prodromal Alzheimer's disease.

Code ↔ Paper

9 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

7 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 9 matches
  1. [1] § METHODS › Identification of DNAm loci moderating the pTau–memory association ↔ code/markdown/00_get_target_samples.Rmd, lines 44 to 77 · score 0.69 · PHC_EXF, PHC_LAN, PHC_MEM, methylated · block oscr:b:M74R4ND7BQH97-O · Report a mismatch
  2. [2] § RESULTS › Methylation‐based memory reserve biomarkers at baseline are significantly associated with subsequent longitudinal memory trajectories in MCI ↔ code/markdown/_ADNI-future-visits-PHC-MEM_MCI-Z-score-MRS_11-11-2025.Rmd, lines 167 to 198 · score 0.67 · mixed model, high MRS, low MRS, mid, tertiles, baseline · block oscr:b:S51AW50CEQACT-4 · Report a mismatch
  3. [3] § METHODS › Computation of methylation reserve scores (MRS) and assessment of its association with future memory decline ↔ code/markdown/_compute_mrs_MCI_11-1-2025.Rmd, lines 39 to 116 · score 0.65 · methylation beta, CpGs, pTau, resilience, raw, MRS · block oscr:b:JWVRVMNMG54S2-X · Report a mismatch
  4. [4] § RESULTS › Methylation‐based memory reserve biomarkers at baseline are significantly associated with subsequent longitudinal memory trajectories in MCI ↔ code/markdown/_ADNI-future-visits-PHC-MEM_MCI-Z-score-MRS_11-11-2025.Rmd, lines 52 to 107 · score 0.63 · baseline age, PHC_MEM, pTau, visits, longitudinal, sex · block oscr:b:S964D3C2CFR3M-S · Report a mismatch
  5. [5] § METHODS › Cognitive measures and CSF biomarkers ↔ code/markdown/_ADNI-future-visits-PHC-MEM_MCI-Z-score-MRS_11-11-2025.Rmd, lines 18 to 50 · score 0.57 · ADSP PHC, phc mem, Amyloid positive, Phenotype, scores, Cognitive · block oscr:b:ZKX8A2747SSKJ-J · Report a mismatch
  6. [6] § RESULTS › Methylation‐based memory reserve biomarkers at baseline are significantly associated with subsequent longitudinal memory trajectories in MCI ↔ code/markdown/_compute_mrs_MCI_11-1-2025.Rmd, lines 39 to 116 · score 0.57 · methylation beta, CpGs, pTau, component, MRS, scores · block oscr:b:JWVRVMNMG54S2-X · Report a mismatch
  7. [7] § METHODS › Identification of DNAm loci moderating the pTau–memory association ↔ code/markdown/_DNAm_pTau_interaction_plots_MCI_12-14-2025.Rmd, lines 155 to 274 · score 0.53 · covariate adjusted, memory scores, fitted, residuals, phc, pTau · block oscr:b:5D1DP642J84WG-Y · Report a mismatch
  8. [8] § METHODS › Identification of DNAm loci moderating the pTau–memory association ↔ code/markdown/04b_dmr_plots.Rmd, lines 159 to 272 · score 0.53 · covariate adjusted, memory scores, fitted, residuals, phc, pTau · block oscr:b:DF6PNZEJNT510-2 · Report a mismatch
  9. [9] § METHODS › Study participants ↔ code/markdown/_ADNI-future-visits-PHC-MEM_MCI-Z-score-MRS_11-11-2025.Rmd, lines 52 to 107 · score 0.52 · PHC_pTau, PHC_MEM, visit, scores, ADNI, MCI · block oscr:b:S964D3C2CFR3M-S · Report a mismatch

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

R Markdown · 454 lines · 14 KB · MIT · 4 matches

  1. ---
  2. title: "MRS × Time Mixed Models, Spaghetti Plots, Comparison of baseline vars by MRS tertiles"
  3. author: "LW"
  4. date: "`r format(Sys.Date(), '%Y-%m-%d')`"
  5. output:
  6. html_document:
  7. toc: true
  8. toc_float: true
  9. df_print: paged
  10. code_folding: show
  11. encoding: UTF-8
  12. ---
  13. ```{r setup, include=FALSE}
  14. knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE)
  15. ```
  16. # Paths & Libraries
  17. ```{r libraries-and-paths}
  18. # Libraries
  19. library(dplyr)
  20. library(readr)
  21. library(lme4)
  22. library(lmerTest)
  23. library(broom.mixed)
  24. library(ggplot2)
  25. library(tidyr)
  26. library(knitr)
  27. # ---- Define directories using file.path() ----
  28. base_dir <- file.path("C:", "Users", "lxw391", "Lily Wang")
  29. # AD_CR analysis folders
  30. ad_cr_dir <- file.path(base_dir, "AD_CR")
  31. analysis_dir <- file.path(ad_cr_dir, "analysis_results", "only_amyloid_positive_2_stage_approach")
  32. out_dir <- file.path(analysis_dir, "mrs")
  33. sig_probes_dir <- file.path(analysis_dir, "sig_probes")
  34. # ADSP PHC (cognition) folder
  35. adsp_phc_dir <- file.path(base_dir, "DATASETS", "ADNI", "Phenotype", "raw", "ADSP-PHC_8-2025")
  36. # ---- File paths ----
  37. pheno_path <- file.path(sig_probes_dir, "Phenotypes.csv")
  38. cogn_path <- file.path(adsp_phc_dir, "ADSP_PHC_COGN_22Aug2025.csv")
  39. mrs_scores_path <- file.path(out_dir, "MCI_mrs_scores.csv")
  40. # Ensure output directory exists
  41. if (!dir.exists(out_dir)) dir.create(out_dir, recursive = TRUE, showWarnings = FALSE)
  42. ```
  43. # Load & Prepare Data
  44. ```{r load-and-prep}
  45. # --- Load & prep --------------------------------------------------------------
  46. pheno_df <- read_csv(pheno_path)
  47. pheno_df$PHASE <- pheno_df$Phase
  48. pheno_df$EXAMDATE <- pheno_df$Edate
  49. # One row per RID already (MCI visit with DNAm/biomarker/cognition date)
  50. mci <- subset(pheno_df, PHC_Diagnosis == 2,
  51. select = c(sample, RID, PHASE, EXAMDATE, age_at_visit, PHC_Age_Biomarker,
  52. APOE4, Gender, B, Mono, CD4T, Neutro, Eosino, NK, PHC_pTau)) %>%
  53. mutate(EXAMDATE = as.Date(EXAMDATE)) %>%
  54. rename(dnam_date = EXAMDATE) %>%
  55. rename(baseline_age = age_at_visit ) %>%
  56. mutate(Gran = Neutro + Eosino)
  57. # Cognition longitudinal file
  58. cogn <- read_csv(cogn_path) %>%
  59. select(RID, PHASE, EXAMDATE, PHC_Education, PHC_MEM,
  60. PHC_Age_Cognition, PHC_Diagnosis, PHC_Sex) %>%
  61. mutate(EXAMDATE = as.Date(EXAMDATE))
  62. # --- Keep only COGN visits AFTER the single MCI visit per RID -----------------
  63. both <- cogn %>%
  64. inner_join(mci, by = "RID") %>%
  65. filter(EXAMDATE > dnam_date)
  66. # Add time since MCI in YEARS
  67. both <- both %>%
  68. mutate(time = as.numeric(difftime(EXAMDATE, dnam_date, units = "days"))/365.25)
  69. # --- Get baseline PHC_MEM at the MCI date (baseline_MEM) ----------------------
  70. baseline_mem <- cogn %>%
  71. select(RID, EXAMDATE, PHC_MEM) %>%
  72. inner_join(mci %>% select(RID, dnam_date), by = "RID") %>%
  73. filter(EXAMDATE == dnam_date) %>%
  74. transmute(RID, baseline_MEM = PHC_MEM)
  75. # Attach baseline_MEM to longitudinal rows
  76. both <- both %>%
  77. left_join(baseline_mem, by = "RID")
  78. # -- add baseline pTau from the MCI visit (dnam_date)
  79. baseline_pTau <- mci %>%
  80. dplyr::select(RID, baseline_pTau = PHC_pTau)
  81. # attach baseline_pTau and baseline_MEM to longitudinal rows
  82. both <- both %>%
  83. dplyr::left_join(baseline_mem, by = "RID") %>%
  84. dplyr::left_join(baseline_pTau, by = "RID")
  85. # --- Merge MRS scores ---------------------------------------------------------
  86. mrs <- read_csv(mrs_scores_path)
  87. mrs_cogn <- merge(mrs, both, by.x = "sample_id", by.y = "sample")
  88. ```
  89. # number of visits
  90. ```{r}
  91. # --- Post-MCI visits for subjects with MRS (use mrs_cogn) --------------------
  92. mrs_cogn_unique <- mrs_cogn %>% dplyr::distinct(RID, EXAMDATE, .keep_all = TRUE)
  93. visits_post_mrs <- mrs_cogn_unique %>%
  94. dplyr::group_by(RID) %>%
  95. dplyr::summarize(
  96. n_visits_post = dplyr::n(),
  97. dnam_date = min(dnam_date), # should be identical within RID
  98. first_post_date = min(EXAMDATE),
  99. last_post_date = max(EXAMDATE),
  100. # years since DNAm date to the (chronologically) last post visit:
  101. followup_years_post = max(time, na.rm = TRUE),
  102. # If you prefer to compute directly from dates instead of `time`, use:
  103. # followup_years_post = as.numeric(difftime(last_post_date, dnam_date, units = "days"))/365.25,
  104. .groups = "drop"
  105. )
  106. # Distribution table
  107. visits_post_mrs_dist <- visits_post_mrs %>%
  108. dplyr::count(n_visits_post, name = "n_subjects") %>%
  109. dplyr::arrange(n_visits_post)
  110. # Save
  111. readr::write_csv(visits_post_mrs, file.path(out_dir, "visit_counts_postMCI_MRSonly.csv"))
  112. readr::write_csv(visits_post_mrs_dist, file.path(out_dir, "visit_counts_postMCI_MRSonly_dist.csv"))
  113. ```
  114. # Mixed-Effects Models
  115. ```{r mixed-models}
  116. df <- mrs_cogn
  117. df$RID <- factor(df$RID)
  118. df$PHC_Sex <- factor(df$PHC_Sex)
  119. df$mrs_z <- as.numeric(scale(df$MRS_raw))
  120. df$baseline_age_z <- as.numeric(scale(df$baseline_age))
  121. f <- lmer(
  122. PHC_MEM ~ baseline_age_z + PHC_Sex + APOE4 + PHC_Education + mrs_z + baseline_pTau +
  123. mrs_z*time + baseline_pTau*time + mrs_z*baseline_pTau
  124. + (1 | RID),
  125. data = df,
  126. REML = TRUE
  127. )
  128. summary(f)
  129. g <- lmer(
  130. PHC_MEM ~ baseline_age_z + PHC_Sex + APOE4 + PHC_Education + mrs_z*time*baseline_pTau
  131. + (1 | RID),
  132. data = df,
  133. REML = TRUE
  134. )
  135. summary(g)
  136. ```
  137. ```{r}
  138. # --- Build tertiles and make High MRS the reference ---------------------------
  139. # df <- mrs_cogn %>%
  140. # dplyr::filter(!is.na(mrs_z), !is.na(PHC_MEM), !is.na(time))
  141. mrs_cutoffs <- stats::quantile(df$mrs_z, probs = c(1/3, 2/3), na.rm = TRUE)
  142. df <- df %>%
  143. mutate(
  144. MRS.group = cut(
  145. mrs_z,
  146. breaks = c(-Inf, mrs_cutoffs[1], mrs_cutoffs[2], Inf),
  147. labels = c("Low MRS", "Mid MRS", "High MRS"),
  148. include.lowest = TRUE, right = TRUE
  149. ),
  150. # >>> High as reference <<<
  151. MRS.group = factor(MRS.group, levels = c("High MRS","Mid MRS","Low MRS")),
  152. RID = factor(RID),
  153. PHC_Sex = factor(PHC_Sex)
  154. )
  155. # --- Mixed models (High MRS is the reference) ---------------------------------
  156. f_cat <- lmer(
  157. PHC_MEM ~ baseline_age_z + PHC_Sex + APOE4 + PHC_Education + MRS.group + baseline_pTau +
  158. MRS.group*time + baseline_pTau*time + MRS.group*baseline_pTau + (1 | RID),
  159. data = df, REML = TRUE
  160. )
  161. summary(f_cat)
  162. df %>% distinct(RID, MRS.group) %>% count(MRS.group)
  163. ```
  164. # Spaghetti Plot: PHC_MEM by MRS Tertile (3 groups)
  165. ```{r spaghetti-3groups, fig.width=8, fig.height=5.5}
  166. # Keep subjects with non-missing MRS and assign tertiles per RID
  167. subj_mrs <- df %>%
  168. distinct(RID, mrs_z) %>% # one MRS per subject
  169. filter(!is.na(mrs_z)) %>%
  170. mutate(
  171. MRS_cat_num = ntile(mrs_z, 3), # 1,2,3 tertiles
  172. MRS_cat = factor(MRS_cat_num,
  173. levels = c(1, 2, 3),
  174. labels = c("Low MRS", "Mid MRS", "High MRS"))
  175. ) %>%
  176. select(RID, MRS_cat)
  177. # Add category to all visits
  178. df_cat <- df %>%
  179. inner_join(subj_mrs, by = "RID")
  180. # Spaghetti plot colored by MRS category
  181. p <- ggplot(df_cat, aes(x = time, y = PHC_MEM, group = RID, color = MRS_cat)) +
  182. geom_line(alpha = 0.35, linewidth = 1.1) + # thicker spaghetti lines
  183. geom_point(alpha = 0.25, size = 1.0) + # slightly larger points
  184. geom_smooth(aes(group = MRS_cat, color = MRS_cat),
  185. method = "lm", formula = y ~ x, se = FALSE, linewidth = 1.8) + # thicker trends
  186. labs(
  187. title = "PHC_MEM trajectories by MRS tertile with linear trends",
  188. x = "Time since baseline (years)",
  189. y = "PHC_MEM",
  190. color = "MRS category"
  191. ) +
  192. theme_minimal(base_size = 12)
  193. p
  194. # Save PDF
  195. ggsave(
  196. filename = file.path(out_dir, "PHC_MEM_spaghetti_by_MRS_3groups.pdf"),
  197. plot = p,
  198. device = pdf,
  199. width = 8, height = 5.5, units = "in"
  200. )
  201. ```
  202. # Change-from-Baseline Plot (ΔPHC_MEM)
  203. ```{r change-from-baseline, fig.width=8, fig.height=5.5}
  204. # Start from df_cat which has baseline_MEM.x and baseline_MEM.y
  205. df_cat2x <- df_cat %>%
  206. mutate(baseline_MEM = dplyr::coalesce(baseline_MEM.x, baseline_MEM.y))
  207. # 1) Use only rows with a real baseline and valid time/MEM; compute change
  208. df_change <- df_cat2x %>%
  209. filter(!is.na(baseline_MEM), !is.na(PHC_MEM), !is.na(time)) %>%
  210. mutate(dMEM = PHC_MEM - baseline_MEM)
  211. # 2) Add one explicit baseline row per subject: time = 0, Δ = 0
  212. base_pts <- df_cat2x %>%
  213. distinct(RID, MRS_cat, baseline_MEM) %>%
  214. filter(!is.na(baseline_MEM)) %>%
  215. transmute(RID, MRS_cat, time = 0, dMEM = 0)
  216. # 3) Combine and plot
  217. df_plot <- bind_rows(df_change, base_pts) %>% arrange(RID, time)
  218. r <- ggplot(df_plot, aes(x = time, y = dMEM, group = RID, color = MRS_cat)) +
  219. geom_hline(yintercept = 0, linetype = "dashed") +
  220. geom_line(alpha = 0.35, linewidth = 1.1) +
  221. geom_point(alpha = 0.25, size = 1.0) +
  222. geom_smooth(aes(group = MRS_cat,color = MRS_cat),
  223. method = "lm", formula = y ~ x, se = FALSE, linewidth = 1.8) +
  224. labs(
  225. title = "Change in PHC_MEM from baseline by MRS tertile",
  226. x = "Time since baseline (years)",
  227. y = "Δ PHC_MEM from baseline",
  228. color = "MRS category"
  229. ) +
  230. theme_minimal(base_size = 12)
  231. r
  232. ggsave(
  233. filename = file.path(out_dir, "change_in_PHC_MEM_spaghetti_by_MRS_3groups.pdf"),
  234. plot = r,
  235. device = pdf,
  236. width = 8, height = 5.5, units = "in"
  237. )
  238. ```
  239. # Baseline Comparisons by MRS
  240. ```{r}
  241. # Helper: first non-missing value
  242. first_non_na <- function(x) {
  243. x <- x[!is.na(x)]
  244. if (length(x) == 0) return(NA)
  245. x[1]
  246. }
  247. # One row per subject (RID) with baseline covariates + max follow-up time (years)
  248. subject_level <- df %>%
  249. group_by(RID) %>%
  250. summarise(
  251. baseline_age = first_non_na(baseline_age),
  252. PHC_Sex = first_non_na(as.character(PHC_Sex)),
  253. APOE4 = first_non_na(APOE4),
  254. PHC_Education = first_non_na(PHC_Education),
  255. baseline_pTau = first_non_na(baseline_pTau),
  256. followup_years = { mx <- suppressWarnings(max(time, na.rm = TRUE));
  257. if (is.infinite(mx)) NA_real_ else mx },
  258. .groups = "drop"
  259. ) %>%
  260. inner_join(subj_mrs, by = "RID") %>%
  261. mutate(
  262. PHC_Sex = factor(PHC_Sex),
  263. APOE4 = factor(APOE4, levels = sort(unique(APOE4)))
  264. )
  265. ## =========================
  266. ## Continuous (wide, pretty)
  267. ## =========================
  268. cont_vars <- c("baseline_age", "PHC_Education", "baseline_pTau", "followup_years")
  269. cont_long <- subject_level %>%
  270. select(MRS_cat, all_of(cont_vars)) %>%
  271. pivot_longer(cols = all_of(cont_vars),
  272. names_to = "Variable", values_to = "value")
  273. # Kruskal–Wallis p per variable
  274. kw_df <- cont_long %>%
  275. group_by(Variable) %>%
  276. summarise(`Kruskal-Wallis p` = tryCatch(
  277. kruskal.test(value ~ MRS_cat)$p.value, error = function(e) NA_real_
  278. ), .groups = "drop")
  279. # Total N (non-missing across all groups) per variable
  280. totals_cont <- cont_long %>%
  281. group_by(Variable) %>%
  282. summarise(`Total N` = sum(!is.na(value)), .groups = "drop")
  283. # Group summaries and pretty string (use actual ±, not \u escapes)
  284. cont_summ <- cont_long %>%
  285. group_by(Variable, MRS_cat) %>%
  286. summarise(
  287. N = sum(!is.na(value)),
  288. Mean = mean(value, na.rm = TRUE),
  289. SD = sd(value, na.rm = TRUE),
  290. Median = median(value, na.rm = TRUE),
  291. .groups = "drop"
  292. ) %>%
  293. mutate(
  294. grp = dplyr::recode(as.character(MRS_cat),
  295. "Low MRS" = "Low", "Mid MRS" = "Mid", "High MRS" = "High"),
  296. pretty = sprintf("%.2f ± %.2f (%.2f)", Mean, SD, Median)
  297. )
  298. # Wide: one row per variable; columns like "Low N", "Low pretty", etc.
  299. cont_table_wide <- cont_summ %>%
  300. select(Variable, grp, N, pretty) %>%
  301. pivot_wider(
  302. names_from = grp,
  303. values_from = c(N, pretty),
  304. names_glue = "{grp} {.value}"
  305. ) %>%
  306. left_join(totals_cont, by = "Variable") %>%
  307. left_join(kw_df, by = "Variable") %>%
  308. relocate(`Total N`, .after = Variable)
  309. # Save & show
  310. write.csv(cont_table_wide,
  311. file = file.path(out_dir, "baseline_group_comparison_continuous_wide.csv"),
  312. row.names = FALSE)
  313. kable(cont_table_wide, digits = 3,
  314. caption = "Continuous variables by MRS tertile (wide): N and mean±SD (median), with Total N and Kruskal–Wallis p.")
  315. ## =========================
  316. ## Categorical (wide, pretty)
  317. ## =========================
  318. cat_long <- subject_level %>%
  319. select(MRS_cat, PHC_Sex, APOE4) %>%
  320. pivot_longer(cols = c(PHC_Sex, APOE4),
  321. names_to = "Variable", values_to = "Level") %>%
  322. mutate(Level = factor(Level))
  323. # Counts/percents within each MRS group
  324. cat_counts <- cat_long %>%
  325. count(Variable, Level, MRS_cat, name = "Count") %>%
  326. group_by(Variable, MRS_cat) %>%
  327. mutate(Percent = 100 * Count / sum(Count)) %>%
  328. ungroup()
  329. # Fisher’s exact p across Low/Mid/High (one p per variable)
  330. fisher_df <- cat_long %>%
  331. group_by(Variable) %>%
  332. summarise(`Fisher p` = tryCatch(
  333. fisher.test(table(MRS_cat, Level))$p.value, error = function(e) NA_real_
  334. ), .groups = "drop")
  335. # Total N across groups per Variable–Level
  336. totals_cat <- cat_counts %>%
  337. group_by(Variable, Level) %>%
  338. summarise(`Total N` = sum(Count), .groups = "drop")
  339. # Pretty wide table with n(%) and Total N
  340. cat_table_wide <- cat_counts %>%
  341. mutate(
  342. grp = dplyr::recode(as.character(MRS_cat),
  343. "Low MRS" = "Low", "Mid MRS" = "Mid", "High MRS" = "High"),
  344. `n(%)` = sprintf("%d (%.1f%%)", Count, Percent)
  345. ) %>%
  346. select(Variable, Level, grp, `n(%)`) %>%
  347. pivot_wider(names_from = grp, values_from = `n(%)`) %>%
  348. left_join(totals_cat, by = c("Variable", "Level")) %>%
  349. left_join(fisher_df, by = "Variable") %>%
  350. relocate(`Total N`, .after = Level)
  351. # Add group denominators (Ns) to the categorical wide table
  352. group_Ns <- cat_long %>%
  353. group_by(Variable, MRS_cat) %>%
  354. summarise(Group_N = sum(!is.na(Level)), .groups = "drop") %>%
  355. mutate(col = dplyr::recode(as.character(MRS_cat),
  356. "Low MRS"="Low_N","Mid MRS"="Mid_N","High MRS"="High_N")) %>%
  357. select(-MRS_cat) %>%
  358. tidyr::pivot_wider(names_from = col, values_from = Group_N)
  359. cat_table_wide <- cat_table_wide %>%
  360. dplyr::left_join(group_Ns, by = "Variable")
  361. # Save & show
  362. write.csv(cat_table_wide,
  363. file = file.path(out_dir, "baseline_group_comparison_categorical_wide.csv"),
  364. row.names = FALSE)
  365. kable(cat_table_wide, digits = 3,
  366. caption = "Categorical variables by MRS tertile (wide): n(%) with Total N and Fisher’s exact p.")
  367. ```
  368. # Session Info
  369. ```{r}
  370. sessionInfo()
  371. ```

_ADNI-future-visits-PHC-MEM_MCI-Z-score-MRS_11-11-2025.Rmd at commit fc972f8, under MIT · at the source

Overview

Authors: David Lukacsovich1, Juan I Young2,3, Lissette Gomez3, Brian W Kunkle2,3, Zhixin Mao1, Wei Zhang1, X Steven Chen1,4, Deirdre M O'Shea5, Tatjana Rundek5,6, Eden R Martin2,3, Lily Wang1,2,3,4,6, for the Alzheimer's Disease Neuroimaging Initiative
ORCID iDs: Lily Wang
  1. Division of Biostatistics, Department of Public Health Sciences, Miller School of Medicine, University of Miami, Miami, Florida, USA
  2. Dr. John T Macdonald Foundation Department of Human Genetics, Miller School of Medicine, University of Miami, Miami, Florida, USA
  3. John P. Hussman Institute for Human Genomics, University of Miami Miller School of Medicine, Miami, Florida, USA
  4. Sylvester Comprehensive Cancer Center, Miller School of Medicine, University of Miami, Miami, Florida, USA
  5. Department of Neurology, University of Miami Miller School of Medicine, Miami, Florida, USA
  6. Evelyn F. McKnight Brain Institute, University of Miami School of Medicine, Miami, Florida, USA
Institutions: University of Miami (United States); Dr. John T. Macdonald Foundation (United States); Sylvester Comprehensive Cancer Center (United States)
Journal: Alzheimer's & dementia (New York, N. Y.), volume 12, issue 2, article e70257
Dates: received 31 December 2025; accepted 25 March 2026; published online 1 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1002/trc2.70257 · PMID 42079999 · PMCID PMC13133550 · OpenAlex W7159963434
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: genetics / omics (modality), structural MRI / diffusion (modality), other (modality), human (organism), Alzheimer's / dementia (population)
Methods: Statistics, Smoothing, state filtering, decompositions
Keywords: cognitive reserve, DNA methylation, CSF pTau181, mild cognitive impairment, Alzheimer's Disease Neuroimaging Initiative, ADNI
Topic: Alzheimer's disease research and treatments (Cellular and Molecular Neuroscience, Neuroscience), according to OpenAlex
Funding: NINDS NIH HHS (R01 NS128145, RF1 NS128145, R61 NS135587); NIA NIH HHS (U01 AG024904)
Citations: not cited yet (Europe PMC); 24 references in the paper

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.

Repository

Its files are read in the Code ↔ Paper reader above, with 9 matches between paragraphs and lines of code.

TransBioInfoLab/ad-cr

License: MIT
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: fc972f85ac977e7480274ef8ff2586aecf656931, 17 January 2026
Languages: R (40)
Size: 46 files, 40 scripts
Software Heritage: not archived
Found in: “DATA AVAILABILITY STATEMENT”
Holds: README, license file, 34 notebooks
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (36 files), ggplot2 (6 files), broom (3 files), patchwork (2 files), rstatix (2 files), ggpubr (1 file), limma (1 file), lme4 (1 file), lmerTest (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
42 files

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;
  • 40 scripts, each with its path and the digest of its content;
  • 9 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.

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:

Read it in the paper: doi.org/10.1002/trc2.70257.

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, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 12 authors, 6 keywords, 2 funders, 24 references.

Cite

This paper

Lukacsovich, D., Young, J. I., Gomez, L., Kunkle, B. W., Mao, Z., Zhang, W., Chen, X. S., O'Shea, D. M., Rundek, T., Martin, E. R., Wang, L., & for the Alzheimer's Disease Neuroimaging Initiative. (2026). Blood DNA methylation signature of cognitive reserve moderates the association between CSF tau pathology and memory in prodromal Alzheimer's disease. Alzheimer's & dementia (New York, N. Y.), 12(2), e70257. https://doi.org/10.1002/trc2.70257

BibTeX

@article{lukacsovich2026blood,
author = {Lukacsovich, David and Young, Juan I and Gomez, Lissette and Kunkle, Brian W and Mao, Zhixin and Zhang, Wei and Chen, X Steven and O'Shea, Deirdre M and Rundek, Tatjana and Martin, Eden R and Wang, Lily and {for the Alzheimer's Disease Neuroimaging Initiative}},
title = {{Blood DNA methylation signature of cognitive reserve moderates the association between CSF tau pathology and memory in prodromal Alzheimer's disease}},
journal = {Alzheimer's \& dementia (New York, N. Y.)},
year = {2026},
month = apr,
volume = {12},
number = {2},
pages = {e70257},
publisher = {Wiley},
issn = {2352-8737},
doi = {10.1002/trc2.70257},
url = {https://doi.org/10.1002/trc2.70257},
pmid = {42079999},
pmcid = {PMC13133550}
}

RIS

TY - JOUR
AU - Lukacsovich, David
AU - Young, Juan I
AU - Gomez, Lissette
AU - Kunkle, Brian W
AU - Mao, Zhixin
AU - Zhang, Wei
AU - Chen, X Steven
AU - O'Shea, Deirdre M
AU - Rundek, Tatjana
AU - Martin, Eden R
AU - Wang, Lily
AU - for the Alzheimer's Disease Neuroimaging Initiative
TI - Blood DNA methylation signature of cognitive reserve moderates the association between CSF tau pathology and memory in prodromal Alzheimer's disease
T2 - Alzheimer's & dementia (New York, N. Y.)
J2 - Alzheimers Dement (N Y)
PY - 2026
DA - 2026/04/01
VL - 12
IS - 2
SP - e70257
SN - 2352-8737
PB - Wiley
DO - 10.1002/trc2.70257
UR - https://doi.org/10.1002/trc2.70257
LA - en
ER -

CSL-JSON

{
"id": "10.1002/trc2.70257",
"type": "article-journal",
"title": "Blood DNA methylation signature of cognitive reserve moderates the association between CSF tau pathology and memory in prodromal Alzheimer's disease",
"container-title": "Alzheimer's & dementia (New York, N. Y.)",
"author": [
{
"family": "Lukacsovich",
"given": "David"
},
{
"family": "Young",
"given": "Juan I"
},
{
"family": "Gomez",
"given": "Lissette"
},
{
"family": "Kunkle",
"given": "Brian W"
},
{
"family": "Mao",
"given": "Zhixin"
},
{
"family": "Zhang",
"given": "Wei"
},
{
"family": "Chen",
"given": "X Steven"
},
{
"family": "O'Shea",
"given": "Deirdre M"
},
{
"family": "Rundek",
"given": "Tatjana"
},
{
"family": "Martin",
"given": "Eden R"
},
{
"family": "Wang",
"given": "Lily"
},
{
"literal": "for the Alzheimer's Disease Neuroimaging Initiative"
}
],
"container-title-short": "Alzheimers Dement (N Y)",
"volume": "12",
"issue": "2",
"page": "e70257",
"DOI": "10.1002/trc2.70257",
"PMID": "42079999",
"PMCID": "PMC13133550",
"ISSN": "2352-8737",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/trc2.70257",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
1
]
]
}
}

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.1186/s13195-025-01733-7 [code]
DNA methylation signature of a lifestyle-based resilience index for cognitive health.
Journal: Alzheimer's research & therapy
In common: limma, rstatix, lmerTest, 3 other tools, Alzheimer's / dementia, genetics / omics, 8 references
[2] doi:10.1007/s11357-026-02195-x [code]
The aging epigenome: integrative analyses reveal intersection with Alzheimer's disease.
Journal: GeroScience
In common: lmerTest, lme4, ggpubr, 2 other tools, Alzheimer's / dementia, genetics / omics, 2 references, author Lily Wang
[3] doi:10.1038/s41467-022-32475-x [code]
Cross-tissue analysis of blood and brain epigenome-wide association studies in Alzheimer's disease.
Journal: Nature communications
In common: lmerTest, ggpubr, ggplot2, 1 other tool, Alzheimer's / dementia, genetics / omics, 2 references, author Lily Wang
[4] doi:10.1002/alz.14496 [code]
Blood DNA methylation signature for incident dementia: Evidence from longitudinal cohorts.
Journal: Alzheimer's & dementia : the journal of the Alzheimer's Association
In common: rstatix, lme4, ggpubr, 2 other tools, Alzheimer's / dementia, genetics / omics, 4 references
[5] doi:10.1162/imag.a.1235 [code]
Intracranial volume: To adjust or not to adjust? It is not a matter of if, but how.
Journal: Imaging neuroscience (Cambridge, Mass.)
In common: broom, rstatix, lmerTest, 5 other tools, structural MRI / diffusion, 1 reference
[6] doi:10.1186/s13073-026-01698-8 [code]
From aging to Alzheimer's disease: concordant brain DNA methylation changes in late life.
Journal: Genome medicine
In common: ggpubr, ggplot2, tidyverse, Alzheimer's / dementia, genetics / omics, 2 references, author Lily Wang
[7] doi:10.7554/elife.81869 [code]
Multimodal brain age estimates relate to Alzheimer disease biomarkers and cognition in early stages: a cross-sectional observational study.
Journal: eLife
In common: broom, rstatix, lmerTest, 4 other tools, Alzheimer's / dementia, structural MRI / diffusion, 1 reference
[8] doi:10.1186/s40478-025-02143-4 [code]
Gene module-trait network analysis uncovers cell type specific systems and genes relevant to Alzheimer's Disease.
Journal: Acta neuropathologica communications
In common: broom, limma, lmerTest, 4 other tools, Alzheimer's / dementia, genetics / omics, 1 reference
[9] doi:10.1093/braincomms/fcae240 [code]
Development of a machine learning algorithm to predict the residual cognitive reserve index.
Journal: Brain communications
In common: broom, patchwork, ggplot2, 1 other tool, structural MRI / diffusion, 4 references
[10] doi:10.1093/brain/awaf302 [code]
Parkinson's disease progression is shaped by longitudinal changes in cerebral compensation.
Journal: Brain : a journal of neurology
In common: broom, rstatix, lmerTest, 4 other tools, 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1002/trc2.70257.svg)](https://openscicode.org/badge/doi/10.1002/trc2.70257)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1002/trc2.70257.svg
   :target: https://openscicode.org/badge/doi/10.1002/trc2.70257
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/trc2.70257"><img src="https://openscicode.org/badge/doi/10.1002/trc2.70257.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.