OSCR

The microdialysis-derived lactate-pyruvate gradient indicates anaerobic activity after brain injury.

Code ↔ Paper

15 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.

The 15 matches
  1. [1] § Results › Substrate delivery and LPR fidelity ↔ 8_substrate_lpr_fidelity.R, lines 520–572 · score 0.87 · LPR fidelity, nested random intercepts, median glucose, LPR perfectly tracked, Patient random intercepts, hyperbolic LPR glucose
  2. [2] § Results › Outcome association ↔ 9_outcome.R, lines 1–81 · score 0.83 · LME models, GOSE categories, segment median, Linear contrasts, 5–6, 7–8
  3. [3] § Results › Linear parameters and the hyperbolic consequence › Characterisation ↔ 5_linear_LP_models.R, lines 1073–1131 · score 0.76 · Combined overlay comparing, Negative intercepts produce, Positive intercepts produce, cohort median trend, Dashed horizontal, LPR hyperbolae
  4. [4] § Results › Linear parameters and the hyperbolic consequence › Within-segment LPR error ↔ 6_hyperbolic_LPR_error.R, lines 1137–1214 · score 0.74 · relative LPR error, pyruvate concentration, maximum pyruvate, zero intercept, minimum pyruvate, LPR range
  5. [5] § Materials and methods › In vitro model ↔ 10_in_vitro.R, lines 1–60 · score 0.73 · electron transport chain, mitochondrial dysfunction, vitro, inhibitor, rotenone, model
  6. [6] § Results › Substrate delivery and LPR fidelity ↔ 8_substrate_lpr_fidelity.R, lines 61–118 · score 0.70 · higher glucose, median glucose, anaerobic activity, median LPR, physiological, substrate
  7. [7] § Results › Independent Uppsala cohort ↔ 8_substrate_lpr_fidelity.R, lines 520–572 · score 0.68 · residual SD, median glucose, LPR perfectly tracked, hyperbolic LPR glucose, median LPR, substrate
  8. [8] § Results › Explaining metabolic polarisation ↔ 7_never_always_LPR25.R, lines 1–78 · score 0.68 · hyperbolic LPR pyruvate, higher intercepts, linear parameters, S3, threshold, pyruvate relationships
  9. [9] § Results › In vitro validation ↔ 10_in_vitro.R, lines 228–263 · score 0.67 · vitro lactate pyruvate, OLS regression fits, 1–24 h, rotenone treated, ANCOVA, R2
  10. [10] § Materials and methods › Data integration and pre-processing ↔ 4_segmentation_stats.R, lines 1–72 · score 0.60 · pre processed, Segmentation pipeline, S4, S1, patient, linear
  11. [11] § Results › In vitro validation ↔ 10_in_vitro.R, lines 1–60 · score 0.59 · mitochondrial dysfunction, linear lactate pyruvate, inhibitor, ANCOVA, rotenone, shift
  12. [12] § Results › Linear parameters and the hyperbolic consequence › Characterisation ↔ 5_linear_LP_models.R, lines 987–1026 · score 0.54 · median R2, negative intercept, positive intercept, Stratification, IQR, linear
  13. [13] § Results › Explaining metabolic polarisation ↔ 7_never_always_LPR25.R, lines 1–78 · score 0.54 · discarded segments, linear parameters, threshold, retained segments, filtering, datapoints
  14. [14] § Results › Outcome association ↔ 9_outcome.R, lines 1–81 · score 0.53 · worse outcome, linear contrast, steeper, Death, CI, patients
  15. [15] § Results › Substrate delivery and LPR fidelity ↔ 8_substrate_lpr_fidelity.R, lines 61–118 · score 0.52 · anaerobic activity, LPR glucose, substrate, fidelity, tracks, validating

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 · 572 lines · 25 KB · MIT · 4 matches

  1. # ==============================================================================
  2. # Script: 8_substrate_lpr_fidelity.R
  3. # Manuscript relevance: 3.5, Fig. 5
  4. # ==============================================================================
  5. # PURPOSE:
  6. # Elucidate the relationship between substrate delivery (glucose), the linear
  7. # gradient (m), and the LPR at within-segment and between-segment levels.
  8. #
  9. # INPUT:
  10. # - 1_output/2_linear_segmentation/1_results.csv: Segment-annotated data
  11. #
  12. # OUTPUT:
  13. # - 1_output/8_substrate_lpr_fidelity/__execution_time.csv: Runtime log
  14. # - 1_output/8_substrate_lpr_fidelity/_1_model_summaries.txt: Full lmer summaries
  15. # - 1_output/8_substrate_lpr_fidelity/_1_stats.csv: Model coefficients and statistics
  16. # - 1_output/8_substrate_lpr_fidelity/0_notes.txt: Figure legend
  17. # - 1_output/8_substrate_lpr_fidelity/1_figure.png: 4-panel figure
  18. #
  19. # DATA FILTERS:
  20. # - Retained segments only: p6e_m > 0 (positive gradient)
  21. # - Observations with non-NA glucose
  22. #
  23. # ANALYSES:
  24. # ------------------------------------------------------------------------------
  25. # Seven LME models. All use Satterthwaite approximation for t-tests.
  26. # Models 1, 5 produce no figure panels.
  27. #
  28. # Model 1: Pyruvate ~ Glucose (POINT-LEVEL, no panel)
  29. # - Establishes pyruvate–glucose association; reported in text.
  30. # Unit: Point-level (individual datapoints)
  31. # Model: pyruvate ~ glucose + (1|patient/p6e_seg_index)
  32. # Weighting: None
  33. # Hypothesis: β_glucose > 0 (one-sided)
  34. # Test: Satterthwaite approximation
  35. #
  36. # Model 2: LPR ~ 1/Glucose in Type Pb segments (POINT-LEVEL → Panel A)
  37. # - Within-segment: LPR vs glucose when b > 0.
  38. # Modelled as lpr ~ inv_glucose to capture hyperbolic shape;
  39. # plotted on glucose x-axis.
  40. # Unit: Point-level, Type Pb segments only
  41. # Model: lpr ~ inv_glucose + (1|patient/p6e_seg_index)
  42. # Weighting: None
  43. # Hypothesis: β > 0 (one-sided; theory: b > 0 → LPR ↓ as glucose ↑)
  44. # Test: Satterthwaite approximation
  45. #
  46. # Model 3: LPR ~ 1/Glucose in Type Nb segments (POINT-LEVEL → Panel B)
  47. # - Within-segment: LPR vs glucose when b < 0.
  48. # Unit: Point-level, Type Nb segments only
  49. # Model: lpr ~ inv_glucose + (1|patient/p6e_seg_index)
  50. # Weighting: None
  51. # Hypothesis: β < 0 (one-sided; theory: b < 0 → LPR ↑ as glucose ↑)
  52. # Test: Satterthwaite approximation
  53. #
  54. # Model 4: LPR ~ m (SEGMENT-LEVEL → Panel C)
  55. # - How faithfully does LPR track the underlying gradient?
  56. # Unit: Segment-level (median LPR, gradient per segment)
  57. # Model: median_lpr ~ m + (1|patient)
  58. # Weighting: n_points (segment size)
  59. # Hypothesis: β > 0 (one-sided); theoretical β = 1 if LPR = m
  60. # Test: Satterthwaite approximation
  61. #
  62. # Model 5: b ~ m (SEGMENT-LEVEL, no panel)
  63. # - Exploratory: quantifies the m–b coupling
  64. # Unit: Segment-level
  65. # Model: b ~ m + (1|patient)
  66. # Weighting: n_points (segment size)
  67. # Hypothesis: Two-sided (exploratory)
  68. # Test: Satterthwaite approximation
  69. #
  70. # Model 6: m ~ Glucose (SEGMENT-LEVEL → Panel D)
  71. # - Is substrate availability associated with anaerobic activity?
  72. # Unit: Segment-level (gradient, median glucose per segment)
  73. # Model: m ~ glucose + (1|patient)
  74. # Weighting: n_points (segment size)
  75. # Hypothesis: β < 0 (higher glucose → lower m; one-sided)
  76. # Test: Satterthwaite approximation
  77. #
  78. # Model 7: LPR ~ Glucose (SEGMENT-LEVEL → Panel D)
  79. # - Between-segment: does LPR track glucose at the segment level?
  80. # Unit: Segment-level (median LPR, median glucose per segment)
  81. # Model: median_lpr ~ glucose + (1|patient)
  82. # Weighting: n_points (segment size)
  83. # Hypothesis: Two-sided (exploratory)
  84. # Test: Satterthwaite approximation
  85. #
  86. # Figure panels:
  87. # Panel A: Within-segment LPR vs glucose, Type Pb (Model 2; hyperbolic fit)
  88. # Panel B: Within-segment LPR vs glucose, Type Nb (Model 3; hyperbolic fit)
  89. # Panel C: Between-segment median LPR vs m (Model 4)
  90. # Panel D: Between-segment m (Model 6) and LPR (Model 7) vs median glucose
  91. #
  92. # MULTIPLE COMPARISONS CORRECTION:
  93. # Applied only to Models 2 and 3 (Benjamini-Hochberg FDR, n=2). These two models jointly test
  94. # the overarching hyperbolic hypothesis (LPR vs 1/Glucose) across two mutually
  95. # exclusive subsets (Pb and Nb). The remaining models are uncorrected because they
  96. # address distinct, independent physiological questions:
  97. # - Model 1: Validates the fundamental Pyruvate-Glucose link.
  98. # - Model 4: Independent assessment of LPR-m association.
  99. # - Model 5: Exploratory quantification of the m-b coupling.
  100. # - Model 6: Tests the primary hypothesis linking m to substrate availability.
  101. # - Model 7: Exploratory comparison of LPR tracking vs m tracking.
  102. # ==============================================================================
  103. suppressPackageStartupMessages({
  104. library(here)
  105. library(dplyr)
  106. library(readr)
  107. library(ggplot2)
  108. library(lme4)
  109. library(lmerTest)
  110. library(patchwork)
  111. })
  112. source(here::here("_shared", "notes.R"))
  113. cat("\n\nStarting 8_substrate_lpr_fidelity.R\n")
  114. start_time <- Sys.time()
  115. save_plot_portable <- function(filename, plot, ...) {
  116. if (isTRUE(capabilities("cairo"))) {
  117. ggsave(filename = filename, plot = plot, type = "cairo", ...)
  118. } else {
  119. warning(sprintf("Cairo backend unavailable; saving %s with the default device.", basename(filename)))
  120. ggsave(filename = filename, plot = plot, ...)
  121. }
  122. }
  123. safe_divide <- function(numerator, denominator, tol = 1e-12, fill = NA_real_) {
  124. result <- numerator / denominator
  125. invalid <- !is.finite(result) | !is.finite(denominator) | abs(denominator) <= tol
  126. result[invalid] <- fill
  127. result
  128. }
  129. get_lmer_pred_se <- function(model, newdata) {
  130. fit <- predict(model, newdata = newdata, re.form = NA, allow.new.levels = TRUE)
  131. X <- model.matrix(delete.response(terms(model)), newdata)
  132. vcov_mat <- as.matrix(vcov(model))
  133. se <- sqrt(rowSums((X %*% vcov_mat) * X))
  134. list(fit = fit, se = se)
  135. }
  136. extract_coef <- function(model, predictor, one_sided = FALSE, expected_sign = 1) {
  137. coefs <- summary(model)$coefficients
  138. beta <- coefs[predictor, "Estimate"]
  139. se <- coefs[predictor, "Std. Error"]
  140. t_val <- coefs[predictor, "t value"]
  141. p_two <- coefs[predictor, "Pr(>|t|)"]
  142. if (one_sided) {
  143. p_val <- if ((expected_sign > 0 && beta > 0) || (expected_sign < 0 && beta < 0)) p_two / 2 else 1 - p_two / 2
  144. } else {
  145. p_val <- p_two
  146. }
  147. list(beta = beta, se = se, t_value = t_val, p_value = p_val)
  148. }
  149. format_p_text <- function(p) if (p < 0.001) "p < 0.001" else sprintf("p = %.3f", p)
  150. # ==============================================================================
  151. # Input / Output
  152. # ==============================================================================
  153. INPUT_FILE <- here::here("1_output", "2_linear_segmentation", "1_results.csv")
  154. if (!file.exists(INPUT_FILE)) {
  155. cat("\n\nError: Results file not found. Run 2_linear_segmentation.py first.\n")
  156. stop()
  157. }
  158. OUTPUT_DIR <- here::here("1_output", "8_substrate_lpr_fidelity")
  159. if (!dir.exists(OUTPUT_DIR)) dir.create(OUTPUT_DIR, recursive = TRUE)
  160. # ==============================================================================
  161. # Data Loading and Preparation
  162. # ==============================================================================
  163. raw_df <- read_csv(INPUT_FILE, show_col_types = FALSE, progress = FALSE)
  164. retained_df <- raw_df %>%
  165. filter(is.finite(p6e_m), p6e_m > 0)
  166. # Point-level data
  167. point_df <- retained_df %>%
  168. filter(!is.na(glucose)) %>%
  169. select(patient, p6e_seg_index, m = p6e_m, b = p6e_b, glucose, pyruvate, lpr) %>%
  170. mutate(
  171. type_b = case_when(b > 0 ~ "Pb", b < 0 ~ "Nb", TRUE ~ "Zb"),
  172. inv_glucose = safe_divide(1, glucose)
  173. )
  174. point_pb <- point_df %>% filter(type_b == "Pb")
  175. point_nb <- point_df %>% filter(type_b == "Nb")
  176. # Segment-level data
  177. segment_df <- point_df %>%
  178. group_by(patient, p6e_seg_index) %>%
  179. summarise(
  180. median_lpr = median(lpr, na.rm = TRUE),
  181. m = first(m),
  182. b = first(b),
  183. glucose = median(glucose, na.rm = TRUE),
  184. n_points = n(),
  185. .groups = "drop"
  186. )
  187. n_points_total <- nrow(point_df)
  188. n_segments <- nrow(segment_df)
  189. n_patients <- n_distinct(segment_df$patient)
  190. n_points_pb <- nrow(point_pb)
  191. n_seg_pb <- n_distinct(paste(point_pb$patient, point_pb$p6e_seg_index))
  192. n_pat_pb <- n_distinct(point_pb$patient)
  193. n_points_nb <- nrow(point_nb)
  194. n_seg_nb <- n_distinct(paste(point_nb$patient, point_nb$p6e_seg_index))
  195. n_pat_nb <- n_distinct(point_nb$patient)
  196. # ==============================================================================
  197. # Statistical Models
  198. # ==============================================================================
  199. # --- Model 1: Pyruvate (mM) ~ Glucose (POINT-LEVEL, no panel) ---
  200. model_1 <- lmer(pyruvate ~ glucose + (1|patient/p6e_seg_index), data = point_df)
  201. stats_1 <- extract_coef(model_1, "glucose", one_sided = TRUE, expected_sign = 1)
  202. resid_sd_pyr <- sigma(model_1)
  203. # --- Model 2: LPR ~ 1/Glucose in Type Pb (POINT-LEVEL → Panel A) ---
  204. model_2 <- lmer(lpr ~ inv_glucose + (1|patient/p6e_seg_index), data = point_pb)
  205. stats_2 <- extract_coef(model_2, "inv_glucose", one_sided = TRUE, expected_sign = 1)
  206. # --- Model 3: LPR ~ 1/Glucose in Type Nb (POINT-LEVEL → Panel B) ---
  207. model_3 <- lmer(lpr ~ inv_glucose + (1|patient/p6e_seg_index), data = point_nb)
  208. stats_3 <- extract_coef(model_3, "inv_glucose", one_sided = TRUE, expected_sign = -1)
  209. # Apply Benjamini-Hochberg FDR correction for Models 2 & 3 (family of 2 tests for hyperbolic hypothesis)
  210. p_adj_23 <- p.adjust(c(stats_2$p_value, stats_3$p_value), method = "BH")
  211. stats_2$p_value <- p_adj_23[1]
  212. stats_3$p_value <- p_adj_23[2]
  213. # --- Model 4: LPR ~ m (SEGMENT-LEVEL → Panel C) ---
  214. model_4 <- lmer(median_lpr ~ m + (1|patient), data = segment_df, weights = n_points,
  215. control = lmerControl(check.conv.singular = .makeCC(action = "ignore", tol = 1e-4)))
  216. stats_4 <- extract_coef(model_4, "m", one_sided = TRUE, expected_sign = 1)
  217. # --- Model 5: b ~ m (SEGMENT-LEVEL, no panel) ---
  218. model_5 <- lmer(b ~ m + (1|patient), data = segment_df, weights = n_points,
  219. control = lmerControl(check.conv.singular = .makeCC(action = "ignore", tol = 1e-4)))
  220. stats_5 <- extract_coef(model_5, "m", one_sided = FALSE)
  221. # --- Model 6: m ~ Glucose (SEGMENT-LEVEL → Panel D) ---
  222. model_6 <- lmer(m ~ glucose + (1|patient), data = segment_df, weights = n_points,
  223. control = lmerControl(check.conv.singular = .makeCC(action = "ignore", tol = 1e-4)))
  224. stats_6 <- extract_coef(model_6, "glucose", one_sided = TRUE, expected_sign = -1)
  225. # --- Model 7: LPR ~ Glucose (SEGMENT-LEVEL → Panel D) ---
  226. model_7 <- lmer(median_lpr ~ glucose + (1|patient), data = segment_df, weights = n_points,
  227. control = lmerControl(check.conv.singular = .makeCC(action = "ignore", tol = 1e-4)))
  228. stats_7 <- extract_coef(model_7, "glucose", one_sided = FALSE)
  229. p_text_1 <- format_p_text(stats_1$p_value)
  230. p_text_2 <- format_p_text(stats_2$p_value)
  231. p_text_3 <- format_p_text(stats_3$p_value)
  232. p_text_4 <- format_p_text(stats_4$p_value)
  233. p_text_5 <- format_p_text(stats_5$p_value)
  234. p_text_6 <- format_p_text(stats_6$p_value)
  235. p_text_7 <- format_p_text(stats_7$p_value)
  236. # Save model summaries
  237. sink(file.path(OUTPUT_DIR, "_1_model_summaries.txt"))
  238. cat("=======================================================================\n")
  239. cat("Model 1: Pyruvate (mM) ~ Glucose [No panel] (POINT-LEVEL)\n")
  240. cat("Establishes pyruvate–glucose association; reported in text.\n")
  241. cat(sprintf("Residual SD = %.5f mM (%.1f μM).\n", resid_sd_pyr, resid_sd_pyr * 1000))
  242. cat(sprintf("N points = %d, N segments = %d, N patients = %d\n",
  243. n_points_total, n_segments, n_distinct(point_df$patient)))
  244. cat("=======================================================================\n")
  245. print(summary(model_1))
  246. cat("\n\n")
  247. cat("=======================================================================\n")
  248. cat("Model 2: LPR ~ 1/Glucose in Type Pb [Panel A] (POINT-LEVEL)\n")
  249. cat("Within-segment: LPR–glucose association when b > 0.\n")
  250. cat("Modelled as lpr ~ inv_glucose; plotted on glucose axis (hyperbolic shape).\n")
  251. cat(sprintf("N points = %d, N segments = %d, N patients = %d\n",
  252. n_points_pb, n_seg_pb, n_pat_pb))
  253. cat(sprintf("Benjamini-Hochberg FDR corrected p-value (n=2): %g\n", stats_2$p_value))
  254. cat("=======================================================================\n")
  255. print(summary(model_2))
  256. cat("\n\n")
  257. cat("=======================================================================\n")
  258. cat("Model 3: LPR ~ 1/Glucose in Type Nb [Panel B] (POINT-LEVEL)\n")
  259. cat("Within-segment: LPR–glucose association when b < 0.\n")
  260. cat("Modelled as lpr ~ inv_glucose; plotted on glucose axis (hyperbolic shape).\n")
  261. cat(sprintf("N points = %d, N segments = %d, N patients = %d\n",
  262. n_points_nb, n_seg_nb, n_pat_nb))
  263. cat(sprintf("Benjamini-Hochberg FDR corrected p-value (n=2): %g\n", stats_3$p_value))
  264. cat("=======================================================================\n")
  265. print(summary(model_3))
  266. cat("\n\n")
  267. cat("=======================================================================\n")
  268. cat("Model 4: Median LPR ~ m [Panel C] (SEGMENT-LEVEL)\n")
  269. cat("How faithfully does LPR track the underlying gradient?\n")
  270. cat("Theoretical β = 1 if LPR perfectly tracked m.\n")
  271. cat(sprintf("N segments = %d, N patients = %d\n", n_segments, n_patients))
  272. cat("=======================================================================\n")
  273. print(summary(model_4))
  274. cat("\n\n")
  275. cat("=======================================================================\n")
  276. cat("Model 5: b ~ m [No panel] (SEGMENT-LEVEL)\n")
  277. cat("Exploratory: quantifies the m–b coupling.\n")
  278. cat(sprintf("N segments = %d, N patients = %d\n", n_segments, n_patients))
  279. cat("=======================================================================\n")
  280. print(summary(model_5))
  281. cat("\n\n")
  282. cat("=======================================================================\n")
  283. cat("Model 6: m ~ Glucose [Panel D] (SEGMENT-LEVEL)\n")
  284. cat("Between-segment: is substrate availability associated with gradient?\n")
  285. cat(sprintf("N segments = %d, N patients = %d\n", n_segments, n_patients))
  286. cat("=======================================================================\n")
  287. print(summary(model_6))
  288. cat("\n\n")
  289. cat("=======================================================================\n")
  290. cat("Model 7: Median LPR ~ Glucose [Panel D] (SEGMENT-LEVEL)\n")
  291. cat("Between-segment: does segment-level LPR track glucose?\n")
  292. cat(sprintf("N segments = %d, N patients = %d\n", n_segments, n_patients))
  293. cat("=======================================================================\n")
  294. print(summary(model_7))
  295. sink()
  296. # ==============================================================================
  297. # Visualization (4-Panel Figure)
  298. # ==============================================================================
  299. common_theme <- theme_minimal() +
  300. theme(
  301. text = element_text(size = 8, colour = "black"),
  302. axis.text = element_text(size = 6, colour = "black"),
  303. axis.title = element_text(size = 7, colour = "black"),
  304. plot.tag = element_text(size = 9, face = "bold", colour = "black", hjust = 1, vjust = -1),
  305. plot.tag.position = c(0.02, 0.99),
  306. panel.border = element_rect(colour = "black", fill = NA, linewidth = 0.5),
  307. panel.grid.minor = element_blank(),
  308. plot.background = element_rect(fill = "white", color = NA),
  309. panel.background = element_rect(fill = "white", color = NA),
  310. legend.position = "none",
  311. plot.margin = margin(t = 3, r = 3, b = 0, l = 3, unit = "mm")
  312. )
  313. # Viewports (point-level for A–B, segment-level for C–D)
  314. glucose_range_pb <- quantile(point_pb$glucose, c(0.025, 0.975), na.rm = TRUE)
  315. glucose_range_nb <- quantile(point_nb$glucose, c(0.025, 0.975), na.rm = TRUE)
  316. glucose_range_seg <- quantile(segment_df$glucose, c(0.025, 0.975), na.rm = TRUE)
  317. m_range <- quantile(segment_df$m, c(0.025, 0.975), na.rm = TRUE)
  318. glucose_seq_pb <- seq(glucose_range_pb[1], glucose_range_pb[2], length.out = 100)
  319. glucose_seq_nb <- seq(glucose_range_nb[1], glucose_range_nb[2], length.out = 100)
  320. glucose_seq_seg <- seq(glucose_range_seg[1], glucose_range_seg[2], length.out = 100)
  321. m_seq <- seq(m_range[1], m_range[2], length.out = 100)
  322. # --- Panel A: LPR ~ 1/Glucose within Pb (Model 2, plotted on glucose axis) ---
  323. pred_a <- data.frame(inv_glucose = safe_divide(1, glucose_seq_pb))
  324. res_a <- get_lmer_pred_se(model_2, pred_a)
  325. pred_a$glucose <- glucose_seq_pb
  326. pred_a$y <- res_a$fit
  327. pred_a$ymin <- pred_a$y - 1.96 * res_a$se
  328. pred_a$ymax <- pred_a$y + 1.96 * res_a$se
  329. ylim_a <- range(c(pred_a$ymin[1], pred_a$ymax[1],
  330. pred_a$ymin[nrow(pred_a)], pred_a$ymax[nrow(pred_a)]))
  331. p_a <- ggplot() +
  332. geom_ribbon(data = pred_a, aes(x = glucose, ymin = ymin, ymax = ymax),
  333. fill = "#44AA99", alpha = 0.2) +
  334. geom_line(data = pred_a, aes(x = glucose, y = y),
  335. color = "#44AA99", linewidth = 1) +
  336. coord_cartesian(xlim = glucose_range_pb, ylim = ylim_a) +
  337. scale_x_continuous(breaks = scales::pretty_breaks(n = 5)) +
  338. scale_y_continuous(breaks = scales::pretty_breaks(n = 5)) +
  339. labs(tag = "A", x = "Glucose (mM)", y = "LPR") +
  340. common_theme
  341. # --- Panel B: LPR ~ 1/Glucose within Nb (Model 3, plotted on glucose axis) ---
  342. pred_b <- data.frame(inv_glucose = safe_divide(1, glucose_seq_nb))
  343. res_b <- get_lmer_pred_se(model_3, pred_b)
  344. pred_b$glucose <- glucose_seq_nb
  345. pred_b$y <- res_b$fit
  346. pred_b$ymin <- pred_b$y - 1.96 * res_b$se
  347. pred_b$ymax <- pred_b$y + 1.96 * res_b$se
  348. ylim_b <- range(c(pred_b$ymin[1], pred_b$ymax[1],
  349. pred_b$ymin[nrow(pred_b)], pred_b$ymax[nrow(pred_b)]))
  350. p_b <- ggplot() +
  351. geom_ribbon(data = pred_b, aes(x = glucose, ymin = ymin, ymax = ymax),
  352. fill = "#DDCC77", alpha = 0.2) +
  353. geom_line(data = pred_b, aes(x = glucose, y = y),
  354. color = "#DDCC77", linewidth = 1) +
  355. coord_cartesian(xlim = glucose_range_nb, ylim = ylim_b) +
  356. scale_x_continuous(breaks = scales::pretty_breaks(n = 5)) +
  357. scale_y_continuous(breaks = scales::pretty_breaks(n = 5)) +
  358. labs(tag = "B", x = "Glucose (mM)", y = "LPR") +
  359. common_theme
  360. # --- Panel C: LPR ~ m (Model 4, segment-level) ---
  361. pred_c <- data.frame(m = m_seq)
  362. res_c <- get_lmer_pred_se(model_4, pred_c)
  363. pred_c$y <- res_c$fit
  364. pred_c$ymin <- pred_c$y - 1.96 * res_c$se
  365. pred_c$ymax <- pred_c$y + 1.96 * res_c$se
  366. ref_c <- data.frame(m = m_range, lpr = m_range)
  367. ylim_c <- range(c(pred_c$ymin[1], pred_c$ymax[1],
  368. pred_c$ymin[nrow(pred_c)], pred_c$ymax[nrow(pred_c)],
  369. m_range))
  370. p_c <- ggplot() +
  371. geom_line(data = ref_c, aes(x = m, y = lpr),
  372. linetype = "dashed", color = "black", linewidth = 0.6) +
  373. geom_ribbon(data = pred_c, aes(x = m, ymin = ymin, ymax = ymax),
  374. fill = "#CC3311", alpha = 0.2) +
  375. geom_line(data = pred_c, aes(x = m, y = y),
  376. color = "#CC3311", linewidth = 1) +
  377. coord_cartesian(xlim = m_range, ylim = ylim_c) +
  378. scale_x_continuous(breaks = scales::pretty_breaks(n = 5)) +
  379. scale_y_continuous(breaks = scales::pretty_breaks(n = 5)) +
  380. labs(tag = "C", x = expression(italic(m)), y = "LPR") +
  381. common_theme
  382. # --- Panel D: m AND LPR ~ Glucose (Models 6 & 7, segment-level) ---
  383. pred_d_m <- data.frame(glucose = glucose_seq_seg)
  384. res_d_m <- get_lmer_pred_se(model_6, pred_d_m)
  385. pred_d_m$y <- res_d_m$fit
  386. pred_d_m$ymin <- pred_d_m$y - 1.96 * res_d_m$se
  387. pred_d_m$ymax <- pred_d_m$y + 1.96 * res_d_m$se
  388. pred_d_lpr <- data.frame(glucose = glucose_seq_seg)
  389. res_d_lpr <- get_lmer_pred_se(model_7, pred_d_lpr)
  390. pred_d_lpr$y <- res_d_lpr$fit
  391. pred_d_lpr$ymin <- pred_d_lpr$y - 1.96 * res_d_lpr$se
  392. pred_d_lpr$ymax <- pred_d_lpr$y + 1.96 * res_d_lpr$se
  393. ylim_d <- range(c(pred_d_m$ymin[1], pred_d_m$ymax[1],
  394. pred_d_m$ymin[nrow(pred_d_m)], pred_d_m$ymax[nrow(pred_d_m)],
  395. pred_d_lpr$ymin[1], pred_d_lpr$ymax[1],
  396. pred_d_lpr$ymin[nrow(pred_d_lpr)], pred_d_lpr$ymax[nrow(pred_d_lpr)]))
  397. p_d <- ggplot() +
  398. geom_ribbon(data = pred_d_lpr, aes(x = glucose, ymin = ymin, ymax = ymax),
  399. fill = "#E69F00", alpha = 0.2) +
  400. geom_line(data = pred_d_lpr, aes(x = glucose, y = y),
  401. color = "#E69F00", linewidth = 1) +
  402. geom_ribbon(data = pred_d_m, aes(x = glucose, ymin = ymin, ymax = ymax),
  403. fill = "#0072B2", alpha = 0.2) +
  404. geom_line(data = pred_d_m, aes(x = glucose, y = y),
  405. color = "#0072B2", linewidth = 1) +
  406. coord_cartesian(xlim = glucose_range_seg, ylim = ylim_d) +
  407. scale_x_continuous(breaks = scales::pretty_breaks(n = 5)) +
  408. scale_y_continuous(breaks = scales::pretty_breaks(n = 5)) +
  409. labs(tag = "D", x = "Glucose (mM)", y = "Value") +
  410. common_theme
  411. # Assemble 4-panel figure
  412. fig <- p_a + p_b + p_c + p_d +
  413. plot_layout(nrow = 1)
  414. save_plot_portable(
  415. filename = file.path(OUTPUT_DIR, "1_figure.png"),
  416. plot = fig,
  417. width = 185, height = 55, units = "mm", dpi = 300
  418. )
  419. # ==============================================================================
  420. # Summary Statistics CSV
  421. # ==============================================================================
  422. summary_stats <- data.frame(
  423. Metric = c(
  424. "N_points", "N_segments", "N_patients",
  425. "N_points_Pb", "N_segments_Pb", "N_patients_Pb",
  426. "N_points_Nb", "N_segments_Nb", "N_patients_Nb",
  427. "Model_1_beta_glucose_mM_per_mM", "Model_1_beta_glucose_uM_per_mM",
  428. "Model_1_SE_uM_per_mM", "Model_1_p_value", "Model_1_resid_SD_mM",
  429. "Model_2_beta_inv_glucose_Pb", "Model_2_SE_Pb", "Model_2_p_value_bh_Pb",
  430. "Model_3_beta_inv_glucose_Nb", "Model_3_SE_Nb", "Model_3_p_value_bh_Nb",
  431. "Model_4_beta_m", "Model_4_SE", "Model_4_p_value",
  432. "Model_5_beta_m_bm", "Model_5_SE_bm", "Model_5_p_value_bm",
  433. "Model_6_beta_glucose", "Model_6_SE", "Model_6_p_value",
  434. "Model_7_beta_glucose_lpr", "Model_7_SE_lpr", "Model_7_p_value_lpr"
  435. ),
  436. Value = c(
  437. n_points_total, n_segments, n_patients,
  438. n_points_pb, n_seg_pb, n_pat_pb,
  439. n_points_nb, n_seg_nb, n_pat_nb,
  440. stats_1$beta, stats_1$beta * 1000,
  441. stats_1$se * 1000, stats_1$p_value, resid_sd_pyr,
  442. stats_2$beta, stats_2$se, stats_2$p_value,
  443. stats_3$beta, stats_3$se, stats_3$p_value,
  444. stats_4$beta, stats_4$se, stats_4$p_value,
  445. stats_5$beta, stats_5$se, stats_5$p_value,
  446. stats_6$beta, stats_6$se, stats_6$p_value,
  447. stats_7$beta, stats_7$se, stats_7$p_value
  448. )
  449. )
  450. write_csv(summary_stats, file.path(OUTPUT_DIR, "_1_stats.csv"))
  451. # ==============================================================================
  452. # Completion Log
  453. # ==============================================================================
  454. end_time <- Sys.time()
  455. execution_time <- as.numeric(difftime(end_time, start_time, units = "secs"))
  456. write_csv(
  457. data.frame(execution_time_seconds = execution_time),
  458. file.path(OUTPUT_DIR, "__execution_time.csv")
  459. )
  460. cat("\n\n8_substrate_lpr_fidelity.R complete.\n\n")
  461. # ==============================================================================
  462. # Figure Legend
  463. # ==============================================================================
  464. legends <- list(
  465. list(
  466. target = "Figure 1 (1_figure.png)",
  467. caption = sprintf(
  468. paste0(
  469. "Glucose associations with LPR and gradient (m). ",
  470. "(A) Within-segment LPR vs glucose for Type Pb segments (b > 0; %d segments, %d patients; ",
  471. "β_1/Glucose = %.2f mM, %s). ",
  472. "(B) Within-segment LPR vs glucose for Type Nb segments (b < 0; %d segments, %d patients; ",
  473. "β_1/Glucose = %.2f mM, %s). ",
  474. "Within-segment models use 1/Glucose as predictor to capture the hyperbolic LPR–glucose ",
  475. "relationship (LPR = m + b/P); predictions are plotted on the glucose x-axis. ",
  476. "P-values for within-segment models (A, B) are Benjamini-Hochberg FDR corrected (n=2). ",
  477. "(C) Segment-level median LPR vs gradient m (β = %.3f, %s); dashed black line indicates the ",
  478. "theoretical β = 1 relationship expected if LPR perfectly tracked the gradient. ",
  479. "(D) Segment-level gradient (m, blue; β = %.3f mM⁻¹, %s) and median LPR (orange; β = %.3f mM⁻¹, %s) ",
  480. "vs median glucose. ",
  481. "Lines = LME fixed effects; shaded = 95%% CI. ",
  482. "A–B: nested random intercepts (segment within patient). ",
  483. "C–D: patient random intercepts, weighted by segment size. ",
  484. "Sample: %d segments, %d patients."
  485. ),
  486. n_seg_pb, n_pat_pb, stats_2$beta, p_text_2,
  487. n_seg_nb, n_pat_nb, stats_3$beta, p_text_3,
  488. stats_4$beta, p_text_4,
  489. stats_6$beta, p_text_6,
  490. stats_7$beta, p_text_7,
  491. n_segments, n_patients
  492. ),
  493. abbreviations = "b, linear intercept; BH, Benjamini-Hochberg; CI, confidence interval; FDR, false discovery rate; LME, linear mixed-effects model; LPR, lactate/pyruvate ratio; m, linear gradient; Nb, negative intercept (b < 0); Pb, positive intercept (b > 0)"
  494. ),
  495. list(
  496. target = "Text-only results (no panel)",
  497. caption = sprintf(
  498. paste0(
  499. "Model 1 (pyruvate ~ glucose, point-level): β = %.2f μM/mM (%s); ",
  500. "residual SD = %.1f μM. %d datapoints, %d segments, %d patients. ",
  501. "Model 5 (b ~ m, segment-level): β = %.4f mM (%s). ",
  502. "%d segments, %d patients."
  503. ),
  504. stats_1$beta * 1000, p_text_1,
  505. resid_sd_pyr * 1000, n_points_total, n_segments, n_patients,
  506. stats_5$beta, p_text_5,
  507. n_segments, n_patients
  508. ),
  509. abbreviations = "b, linear intercept; LPR, lactate/pyruvate ratio; m, linear gradient; SD, standard deviation"
  510. )
  511. )
  512. writeLines(build_notes(legends, title = "8_substrate_lpr_fidelity"), file.path(OUTPUT_DIR, "0_notes.txt"))

8_substrate_lpr_fidelity.R at commit 7cc6e72, under MIT · at the source

Overview

Authors: Michael S Baker1, Joshua M Heihre1, Tomasz Kuliński2, Claudia A Smith1, Berfin Barlas1,3, Chisomo Zimphango1, Ivan Timofeev1, Koby Baranes1,3, Keri L H Carpenter1, Mark Kotter1,3, Mathew R Guilfoyle1, Elham Rostami2,4, Peter J Hutchinson1, Adel Helmy1
  1. Department of Clinical Neurosciences, University of Cambridge, Cambridge, UK
  2. Section of Neurosurgery, Department of Medical Sciences, Uppsala University Hospital, Uppsala, Sweden
  3. Wellcome-MRC Cambridge Stem Cell Institute, University of Cambridge, Cambridge, UK
  4. Department of Physiology and Pharmacology, Karolinska Institutet, Stockholm, Sweden
Dates: received 31 March 2026; accepted 20 August 2026; published online 26 August 2026; in print August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1177/0271678x261485404 · PMID 42644382 · PMCID PMC13558473 · OpenAlex W7204260038
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), cellular / molecular (subfield)
Methods: Statistics
Keywords: Cerebral metabolism, changepoint detection, mitochondrial dysfunction, neuromonitoring, neurocritical care
Topic: Traumatic Brain Injury and Neurovascular Disturbances (Neurology, Medicine), according to OpenAlex
Funding: National Institute for Health Research (NIHR) (NIHR129748); Wellcome Trust
Citations: not cited yet (Europe PMC); 29 references in the paper

Abstract

Cerebral microdialysis (CMD) after traumatic brain injury (TBI) has focused on lactate/pyruvate ratio (LPR), overlooking lactate–pyruvate gradient (LPG, the linear regression slope within a time segment of CMD datapoints) as a proxy for anaerobic activity. We retrospectively applied changepoint detection to the linear lactate–pyruvate relationship (L = mP + b) over time within patients from two independent CMD-monitored TBI cohorts (Cambridge, n = 510; Uppsala, n = 81), estimating per-segment LPG (m) and intercept (b, capturing metabolic variance). In vitro, we tested whether rotenone-induced mitochondrial dysfunction increases LPG in hiPSC-derived neurons, as expected if LPG tracks anaerobic activity. In the Cambridge cohort, a median of two linear segments were identified per patient (median LPG = 19.83; median b = 0.54 mM). Between segments, LPR tracked LPG with heavy attenuation (β = 0.255). LPG was negatively associated with cerebral microdialysate glucose (p < 0.001) and 6-month GOSE (p = 0.039). Uppsala data confirmed pipeline robustness and replicated the LPG–glucose association (p = 0.022). LPG was higher in rotenone-treated neurons than controls (32.9 vs 14.2, p < 0.001). LPG calculated per time segment provides a more accurate, outcome-associated proxy for anaerobic activity than datapoint-level LPR.

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 15 matches between paragraphs and lines of code.

msb-jr/LPG

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 7cc6e72aec21e4b971deb857b3e2f671a79b399e, 9 September 2026
Languages: R (9), Python (7)
Size: 44 files, 16 scripts
Software Heritage: not archived
Found in: “Statistical analysis and code availability”
Holds: README, license file, environment (renv.lock, requirements.txt)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: tidyverse (7 files), ggplot2 (6 files), patchwork (5 files), NumPy (4 files), lme4 (3 files), lmerTest (3 files), Matplotlib (3 files), pandas (3 files), emmeans (2 files), scikit-learn (1 file), SciPy (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
18 files
At the source: github.com/msb-jr/LPG

Statistical analysis and code availability

Multiple statistical approaches were used, including OLS regression, Fisher’s z-transformed correlation comparisons, model comparison via Akaike Information Criterion (AIC), linear mixed-effects (LME) models with nested random effects, nonparametric tests for group comparisons with Benjamini-Hochberg correction for multiple testing, linear contrasts via estimated marginal means (EMMs), and analysis of covariance (ANCOVA) for comparing in vitro regression lines. EMMs represent the model-estimated typical values within each group, adjusted for the model’s random effects and weighting structure. All analyses were performed using R (v4.5.2; https://www.r-project.org/) and Python (v3.9.6; https://www.python.org/). The complete, annotated source code of this project is publicly available at https://github.com/msb-jr/LPG. The relation of each script to each section of the manuscript and Supplementary materials (https://journals.sagepub.com/doi/suppl/10.1177/0271678X261485404) is specified in the repository. Where directional hypotheses were pre-specified based on theoretical expectation or established literature (e.g. higher LPR associated with worse outcomes), one-sided tests were used; all other tests were two-sided. The directionality of each test is specified in the published code. The Uppsala cohort was analysed using the same published pipeline and scripts; all statistical methods were identical to those applied to the Cambridge cohort.

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:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 16 scripts, each with its path and the digest of its content;
  • 15 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.

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

Recorded: type, language, journal, pages, dates, 14 authors, 5 keywords, 2 funders, 24 references.

Cite

This paper

Baker, M. S., Heihre, J. M., Kuliński, T., Smith, C. A., Barlas, B., Zimphango, C., Timofeev, I., Baranes, K., Carpenter, K. L. H., Kotter, M., Guilfoyle, M. R., Rostami, E., Hutchinson, P. J., & Helmy, A. (2026). The microdialysis-derived lactate-pyruvate gradient indicates anaerobic activity after brain injury. Journal of cerebral blood flow and metabolism : official journal of the International Society of Cerebral Blood Flow and Metabolism, 0271678X261485404. https://doi.org/10.1177/0271678x261485404

BibTeX

@article{baker2026microdialysis,
author = {Baker, Michael S and Heihre, Joshua M and Kuliński, Tomasz and Smith, Claudia A and Barlas, Berfin and Zimphango, Chisomo and Timofeev, Ivan and Baranes, Koby and Carpenter, Keri L H and Kotter, Mark and Guilfoyle, Mathew R and Rostami, Elham and Hutchinson, Peter J and Helmy, Adel},
title = {{The microdialysis-derived lactate-pyruvate gradient indicates anaerobic activity after brain injury}},
journal = {Journal of cerebral blood flow and metabolism : official journal of the International Society of Cerebral Blood Flow and Metabolism},
year = {2026},
month = aug,
pages = {0271678X261485404},
publisher = {SAGE Publications},
issn = {0271-678X},
doi = {10.1177/0271678x261485404},
url = {https://doi.org/10.1177/0271678x261485404},
pmid = {42644382},
pmcid = {PMC13558473}
}

RIS

TY - JOUR
AU - Baker, Michael S
AU - Heihre, Joshua M
AU - Kuliński, Tomasz
AU - Smith, Claudia A
AU - Barlas, Berfin
AU - Zimphango, Chisomo
AU - Timofeev, Ivan
AU - Baranes, Koby
AU - Carpenter, Keri L H
AU - Kotter, Mark
AU - Guilfoyle, Mathew R
AU - Rostami, Elham
AU - Hutchinson, Peter J
AU - Helmy, Adel
TI - The microdialysis-derived lactate-pyruvate gradient indicates anaerobic activity after brain injury
T2 - Journal of cerebral blood flow and metabolism : official journal of the International Society of Cerebral Blood Flow and Metabolism
J2 - J Cereb Blood Flow Metab
PY - 2026
DA - 2026/08/26
SP - 0271678X261485404
SN - 0271-678X
PB - SAGE Publications
DO - 10.1177/0271678x261485404
UR - https://doi.org/10.1177/0271678x261485404
LA - en
ER -

CSL-JSON

{
"id": "10.1177/0271678x261485404",
"type": "article-journal",
"title": "The microdialysis-derived lactate-pyruvate gradient indicates anaerobic activity after brain injury",
"container-title": "Journal of cerebral blood flow and metabolism : official journal of the International Society of Cerebral Blood Flow and Metabolism",
"author": [
{
"family": "Baker",
"given": "Michael S"
},
{
"family": "Heihre",
"given": "Joshua M"
},
{
"family": "Kuliński",
"given": "Tomasz"
},
{
"family": "Smith",
"given": "Claudia A"
},
{
"family": "Barlas",
"given": "Berfin"
},
{
"family": "Zimphango",
"given": "Chisomo"
},
{
"family": "Timofeev",
"given": "Ivan"
},
{
"family": "Baranes",
"given": "Koby"
},
{
"family": "Carpenter",
"given": "Keri L H"
},
{
"family": "Kotter",
"given": "Mark"
},
{
"family": "Guilfoyle",
"given": "Mathew R"
},
{
"family": "Rostami",
"given": "Elham"
},
{
"family": "Hutchinson",
"given": "Peter J"
},
{
"family": "Helmy",
"given": "Adel"
}
],
"container-title-short": "J Cereb Blood Flow Metab",
"page": "0271678X261485404",
"DOI": "10.1177/0271678x261485404",
"PMID": "42644382",
"PMCID": "PMC13558473",
"ISSN": "0271-678X",
"publisher": "SAGE Publications",
"URL": "https://doi.org/10.1177/0271678x261485404",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
26
]
]
}
}

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.1093/braincomms/fcag176 [code]
Tau topography subtypes account for clinical heterogeneity and longitudinal trajectories in early-onset Alzheimer's disease.
Journal: Brain communications
In common: emmeans, lmerTest, lme4, 8 other tools
[2] doi:10.1073/pnas.2603114123 [code]
The human hippocampus can pattern separate memories by meaning.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: emmeans, lmerTest, lme4, 7 other tools
[3] doi:10.1111/ejn.70480 [code]
Astrocyte Proximity Protects Synapses From Human Amyloid-Beta Induced Degeneration in a Mouse Ex Vivo Model of Early Alzheimer's Disease.
Journal: The European journal of neuroscience
In common: emmeans, lmerTest, lme4, 7 other tools, cellular / molecular
[4] doi:10.1016/j.xcrm.2026.102766 [code]
A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.
Journal: Cell reports. Medicine
In common: lmerTest, lme4, patchwork, 7 other tools, cellular / molecular
[5] doi:10.1093/cercor/bhag113 [code]
Long-term reliability and stability of parameterized resting state EEG: evidence from a five-year follow-up.
Journal: Cerebral cortex (New York, N.Y. : 1991)
In common: emmeans, lmerTest, lme4, 7 other tools
[6] doi:10.34133/csbj.0042 [code]
Using Steady-State Visual Evoked Potentials to Characterize Wide-Ranging Retinopathy Linked to &lt;i&gt;CRB1&lt;/i&gt;: Implications for Clinical Trials.
Journal: Computational and structural biotechnology journal
In common: emmeans, lmerTest, lme4, 7 other tools
[7] doi:10.1371/journal.pbio.3003666 [code]
Emotion regulation success involves systematic gradient-based reconfigurations of large-scale activation patterns in the human brain.
Journal: PLoS biology
In common: emmeans, lmerTest, lme4, 7 other tools
[8] doi:10.1002/hbm.70605 [code]
BrainEnrich: Revealing Biological Insights for Imaging-Derived Phenotypes Through Transcriptomic Enrichment.
Journal: Human brain mapping
In common: emmeans, lmerTest, patchwork, 7 other tools
[9] doi:10.1038/s41598-026-51531-w [code]
Multimodal age-dependent diffusion-MRI analysis of the neocortex in a rat model of cortical dysplasia.
Journal: Scientific reports
In common: emmeans, lmerTest, lme4, 7 other tools
[10] doi:10.1093/bioinformatics/btag592 [code]
Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.
Journal: Bioinformatics (Oxford, England)
In common: emmeans, lme4, patchwork, 7 other tools

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.

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.