OSCR

How Long Is the Brain Perfusable After Global Ischemia? A Systematic Review.

Code ↔ Paper

6 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 6 matches
  1. [1] § 3. Results and Discussion › 3.1. Study Selection ↔ ischemia_review_code.R, lines 118–139 · score 0.88 · xenon enhanced CT, Xe clearance, Xe CT, India ink, antipyrine, autoradiography
  2. [2] § 3. Results and Discussion › 3.1. Study Selection ↔ ischemia_review_code.R, lines 118–139 · score 0.81 · laser Doppler, laser speckle, functional capillary, intravital, microscopy, sidestream
  3. [3] § 2. Review Methods › 2.5. Data Extraction ↔ ischemia_review_code.R, lines 506–641 · score 0.69 · adequacy criterion, LOESS smoothers, pure blood, adequate perfusion, carbon black, interactive
  4. [4] § 3. Results and Discussion › 3.4. Qualitative Reperfusion Outcomes ↔ ischemia_review_code.R, lines 690–717 · score 0.68 · Wilcoxon rank sum, reactive hyperemia, absent, hypoperfusion, median, qualitative
  5. [5] § 3. Results and Discussion › 3.9. Study Quality ↔ ischemia_review_code.R, lines 155–187 · score 0.57 · publication year, quality scores, Blinding, Spearman, temperature, ischemia duration
  6. [6] § 2. Review Methods › 2.6. Data Synthesis ↔ ischemia_review_code.R, lines 316–377 · score 0.55 · pure blood, carbon black, quality assessments, LOESS, Smoothing, perfusion quality

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 · 717 lines · 23 KB · no license · 6 matches

  1. library(dplyr)
  2. library(tidyr)
  3. library(ggplot2)
  4. library(patchwork)
  5. library(stringr)
  6. library(plotly)
  7. library(htmlwidgets)
  8. library(htmltools)
  9. library(glue)
  10. load_tsv <- function(path, encoding = "") {
  11. d <- read.delim(
  12. path,
  13. sep = "\t",
  14. header = TRUE,
  15. stringsAsFactors = FALSE,
  16. check.names = FALSE,
  17. na.strings = c("", "NA"),
  18. fileEncoding = encoding
  19. )
  20. d[-1, ]
  21. }
  22. ext <- load_tsv(
  23. "Data Extraction Fixed - Data Extraction2.tsv",
  24. encoding = "UTF-16LE"
  25. )
  26. sq <- load_tsv(
  27. "Data Extraction Fixed - Study Quality.tsv",
  28. encoding = "UTF-8"
  29. )
  30. parse_pct <- function(x) {
  31. x <- trimws(x); x[x %in% c("NR", "Cannot convert")] <- NA
  32. suppressWarnings(as.numeric(sub("%$", "", sub("^~", "", x))))
  33. }
  34. parse_brains <- function(x) {
  35. x <- trimws(x); x[x %in% c("NR", "Cannot convert", "N/A")] <- NA
  36. suppressWarnings(as.numeric(sub("^([0-9.]+).*", "\\1", sub("^~", "", x))))
  37. }
  38. parse_num <- function(x) suppressWarnings(as.numeric(sub("^~", "", trimws(x))))
  39. parse_n <- function(x) {
  40. x <- sub("^~", "", trimws(x))
  41. suppressWarnings(as.numeric(sub("^(\\d+).*", "\\1", x)))
  42. }
  43. # Unique per-paper key (PMID > DOI > Authors+Year label). paste(Authors, Year)
  44. # alone is NOT unique here (3 Cantu et al. 1969 papers, 2 Kågström et al. 1983,
  45. # 2 Fischer et al. 1996), so anything grouped on that string alone silently
  46. # collapses 60 papers to 56.
  47. make_study_key <- function(authors, year, pmid = NA, doi = NA, link = NA) {
  48. n <- length(authors)
  49. pmid <- rep_len(pmid, n)
  50. doi <- rep_len(doi, n)
  51. link <- rep_len(link, n)
  52. pmid_from_link <- ifelse(
  53. !is.na(link),
  54. sub(".*pubmed\\.ncbi\\.nlm\\.nih\\.gov/(\\d+).*", "\\1", link),
  55. NA
  56. )
  57. pmid_from_link[pmid_from_link == link] <- NA
  58. doi_from_link <- ifelse(
  59. !is.na(link) & is.na(pmid_from_link),
  60. sub(".*doi\\.org/(.+)$", "\\1", link),
  61. NA
  62. )
  63. doi_from_link[doi_from_link == link] <- NA
  64. pmid_val <- ifelse(!is.na(pmid) & pmid != "Not found.", pmid, pmid_from_link)
  65. doi_val <- ifelse(!is.na(doi) & doi != "Not found.", doi, doi_from_link)
  66. ifelse(
  67. !is.na(pmid_val), paste0("PMID:", pmid_val),
  68. ifelse(!is.na(doi_val), paste0("DOI:", tolower(trimws(doi_val))),
  69. paste0("LABEL:", authors, "_", year))
  70. )
  71. }
  72. d <- ext |>
  73. mutate(
  74. pct_brain = parse_pct(`Converted % Brain Perfused`),
  75. pct_brains = parse_brains(`% Brains Adequately Perfused`),
  76. isch = parse_num(`Ischemia Duration (min)`),
  77. n_arm = parse_n(`Sample Size (n)`),
  78. blood = `Blood vs. Non-Blood`,
  79. study = make_study_key(`Study Authors`, Year, link = Link)
  80. ) |>
  81. filter(isch <= 60)
  82. n_studies_check <- ext |>
  83. mutate(study = make_study_key(`Study Authors`, Year, link = Link)) |>
  84. pull(study) |> n_distinct()
  85. stopifnot(n_studies_check == 60)
  86. # ===========================================================
  87. # 0. Descriptive statistics
  88. # ===========================================================
  89. ext <- ext %>%
  90. mutate(species_clean = case_when(
  91. str_detect(`Species / Strain`, regex("^cat", ignore_case = TRUE)) ~ "cat",
  92. str_detect(`Species / Strain`, regex("^dog", ignore_case = TRUE)) ~ "dog",
  93. str_detect(`Species / Strain`, regex("^human", ignore_case = TRUE)) ~ "human",
  94. str_detect(`Species / Strain`, regex("^(pig|piglet)", ignore_case = TRUE)) ~ "pig",
  95. str_detect(`Species / Strain`, regex("^rabbit", ignore_case = TRUE)) ~ "rabbit",
  96. str_detect(`Species / Strain`, regex("^rat", ignore_case = TRUE)) ~ "rat",
  97. TRUE ~ NA_character_
  98. ))
  99. table(ext$species_clean)
  100. dur <- as.numeric(ext$`Ischemia Duration (min)`)
  101. median(dur[dur <= 120])
  102. fam <- function(x) {
  103. x <- tolower(x)
  104. dplyr::case_when(
  105. grepl("carbon|india ink|colloidal", x) ~ "Carbon black/India ink",
  106. grepl("microsphere", x) ~ "Microsphere CBF",
  107. grepl("antipyrine|autoradiograph", x) ~ "Antipyrine autoradiography",
  108. grepl("xe-ct|xe/ct|xenon-enhanced ct", x) ~ "Stable Xe-CT",
  109. grepl("xe |133xe|133-xenon|xenon clearance", x) ~ "133Xe clearance",
  110. grepl("fitc-albumin", x) ~ "FITC-albumin microscopy",
  111. grepl("functional capillary|fitc-dextran|sdf|sidestream", x) ~ "Intravital FCD/SDF",
  112. grepl("laser doppler|laser speckle", x) ~ "Laser Doppler/speckle",
  113. grepl("multiphoton", x) ~ "Multiphoton capillary RBC",
  114. grepl("angiograph", x) ~ "Angiography",
  115. grepl("asl-mri|arterial spin", x) ~ "ASL-MRI",
  116. grepl("pet ", x) ~ "PET CBF",
  117. grepl("h2 clearance|hydrogen clearance", x) ~ "H2 clearance",
  118. grepl("rbc suspension|benzidine", x) ~ "RBC/benzidine",
  119. grepl("thermocouple", x) ~ "Thermocouple",
  120. grepl("0-3 scale|semi-quantitative|qualitative multi-modal|histological grading", x) ~ "Qualitative grading",
  121. TRUE ~ paste0("UNCLASSIFIED: ", x)
  122. )
  123. }
  124. ext$method_family <- fam(ext$`Perfusion Quality Assessment Method`)
  125. sort(table(ext$method_family), decreasing = TRUE)
  126. # ===========================================================
  127. # 1. Overall dose-response: % brain perfused vs ischemia
  128. # ===========================================================
  129. cat("All cases: "); print(cor.test(d$isch, d$pct_brain, method = "spearman", exact = FALSE))
  130. cat("All cases: "); print(cor.test(d$isch, d$pct_brains, method = "spearman", exact = FALSE))
  131. # ===========================================================
  132. # 2. Study quality: distribution and simple correlations
  133. # ===========================================================
  134. cat("\n--- Study quality ---\n")
  135. yes_like <- function(x) grepl("^Yes", x, ignore.case = TRUE)
  136. sq2 <- sq |>
  137. mutate(
  138. q_isch = as.integer(yes_like(`Ischemia Duration Clearly Defined?`)),
  139. q_n = as.integer(yes_like(`Sample Size Explicitly Reported?`)),
  140. q_temp = as.integer(yes_like(`Temperature During Ischemia Reported?`)),
  141. q_method = as.integer(yes_like(`Perfusion Outcome Reproducibly Described?`)),
  142. q_blind = as.integer(yes_like(`Blinding Used in Outcome Assessment?`)),
  143. q_incl = as.integer(yes_like(`Inclusion/Exclusion Criteria Stated?`)),
  144. quality = q_isch + q_n + q_temp + q_method + q_blind + q_incl,
  145. study = make_study_key(`Study Authors`, Year, pmid = PMID, doi = DOI),
  146. year_num = suppressWarnings(as.numeric(Year))
  147. )
  148. sq_one <- sq2 |> group_by(study) |>
  149. summarise(quality = max(quality),
  150. year_num = first(year_num),
  151. across(starts_with("q_"), max), .groups = "drop")
  152. stopifnot(nrow(sq_one) == 60)
  153. cat("Item-level 'Yes' rates:\n")
  154. sq_one |> summarise(across(starts_with("q_"), mean)) |> print()
  155. cat("\nQuality score distribution (per study):\n"); print(table(sq_one$quality))
  156. cat("\nQuality vs publication year (per study):\n")
  157. print(cor.test(sq_one$year_num, sq_one$quality, method = "spearman", exact = FALSE))
  158. per_study <- d |> filter(!is.na(pct_brain)) |>
  159. group_by(study) |>
  160. summarise(mean_pct = mean(pct_brain), mean_isch = mean(isch), .groups = "drop") |>
  161. left_join(sq_one |> select(study, quality), by = "study")
  162. cat("\nQuality vs mean ischemia duration (per study):\n")
  163. print(cor.test(per_study$quality, per_study$mean_isch, method = "spearman", exact = FALSE))
  164. # ===========================================================
  165. # 2b. Quality vs perfusate type
  166. # ===========================================================
  167. get_mode <- function(x) {
  168. x <- x[!is.na(x)]
  169. if (length(x) == 0) return(NA)
  170. names(sort(table(x), decreasing = TRUE))[1]
  171. }
  172. study_cov <- ext |>
  173. mutate(
  174. study = make_study_key(`Study Authors`, Year, link = Link),
  175. isch = parse_num(`Ischemia Duration (min)`),
  176. blood = `Blood vs. Non-Blood`
  177. ) |>
  178. filter(isch <= 60) |>
  179. group_by(study) |>
  180. summarise(blood_mode = get_mode(blood), .groups = "drop") |>
  181. left_join(sq_one |> select(study, quality), by = "study")
  182. cat("\nQuality vs blood/non-blood:\n")
  183. print(kruskal.test(quality ~ blood_mode, data = study_cov))
  184. print(study_cov |> group_by(blood_mode) |> summarise(mean_q = mean(quality), n = n()))
  185. # ===========================================================
  186. # Plots
  187. # ===========================================================
  188. classify_perf <- function(blood_raw, method) {
  189. carbon <- grepl("carbon", method, ignore.case = TRUE)
  190. case_when(
  191. blood_raw == "Blood" ~ "Pure blood",
  192. blood_raw == "Mixed" ~ "Mixed blood",
  193. blood_raw == "Non-Blood" & carbon ~ "Carbon black",
  194. blood_raw == "Non-Blood" & !carbon ~ "Other non-blood",
  195. TRUE ~ NA_character_
  196. )
  197. }
  198. d <- d |>
  199. mutate(perfusate = classify_perf(blood, `Perfusion Quality Assessment Method`),
  200. perfusate = factor(perfusate,
  201. levels = c("Pure blood","Mixed blood",
  202. "Carbon black","Other non-blood")))
  203. perf_cols <- c(
  204. "Pure blood" = "#0072B2", # blue
  205. "Mixed blood" = "#CC79A7", # magenta
  206. "Carbon black" = "#D55E00", # orange
  207. "Other non-blood" = "#666666" # neutral gray
  208. )
  209. loess_grid <- function(df, ycol, span = 2) {
  210. df |>
  211. filter(!is.na(.data[[ycol]]), !is.na(isch)) |>
  212. group_by(perfusate) |>
  213. group_modify(~{
  214. fit <- loess(
  215. formula = reformulate("log10(isch)", response = ycol),
  216. data = .x,
  217. span = span,
  218. degree = 1
  219. )
  220. xgrid <- exp(seq(
  221. log(min(.x$isch)),
  222. log(max(.x$isch)),
  223. length.out = 200
  224. ))
  225. pred <- predict(
  226. fit,
  227. newdata = data.frame(isch = xgrid)
  228. )
  229. tibble(
  230. isch = xgrid,
  231. fit = pmin(100, pmax(0, pred))
  232. )
  233. }) |>
  234. ungroup()
  235. }
  236. make_plot <- function(df, ycol, ylab, title_txt) {
  237. df_clean <- df |>
  238. filter(!is.na(.data[[ycol]]), !is.na(perfusate)) |>
  239. mutate(
  240. perfusate = droplevels(perfusate),
  241. # Unknown n is plotted at the minimum point size
  242. n_plot = ifelse(is.na(n_arm), 1, n_arm),
  243. # Only relevant to Figure 3
  244. criterion_source = case_when(
  245. # Explicitly identified as paper-defined in the extraction
  246. grepl(
  247. "paper-defined",
  248. `% Brains Adequately Perfused`,
  249. ignore.case = TRUE
  250. ) |
  251. grepl(
  252. "paper-defined",
  253. `% Brains Quote`,
  254. ignore.case = TRUE
  255. ) ~ "Study-defined criterion",
  256. # Ames bloodless-ischemia experiments:
  257. # adequacy based directly on the paper's qualitative filling description
  258. `Study Authors` == "Ames et al." &
  259. grepl(
  260. "complete filling|poor filling",
  261. `% Brains Quote`,
  262. ignore.case = TRUE
  263. ) ~ "Study-defined criterion",
  264. # Kågström: presence/absence of no-reflow was the study's outcome
  265. `Study Authors` == "Kågström et al." &
  266. grepl(
  267. "no-reflow|no no-reflow",
  268. `% Brains Quote`,
  269. ignore.case = TRUE
  270. ) ~ "Study-defined criterion",
  271. # Dietrich: study's own qualitative perfusion-deficit classification
  272. `Study Authors` == "Dietrich et al." &
  273. grepl(
  274. "severe perfusion deficits",
  275. `% Brains Quote`,
  276. ignore.case = TRUE
  277. ) ~ "Study-defined criterion",
  278. # Everything else in Figure 3 uses the review-defined adequacy rule
  279. TRUE ~ "Review-defined criterion"
  280. ),
  281. criterion_source = factor(
  282. criterion_source,
  283. levels = c(
  284. "Review-defined criterion",
  285. "Study-defined criterion"
  286. )
  287. ),
  288. source_id = dplyr::case_when(
  289. grepl("pubmed.ncbi.nlm.nih.gov", Link) ~
  290. paste0(
  291. "PubMed PMID: ",
  292. sub(".*/([0-9]+)/?$", "\\1", Link)
  293. ),
  294. grepl("doi.org", Link) ~
  295. paste0(
  296. "DOI: ",
  297. sub(".*doi\\.org/", "", Link)
  298. ),
  299. TRUE ~ "Source available by clicking point"
  300. ),
  301. outcome_label = ifelse(
  302. is.na(`Additional Outcome Specifier`),
  303. "",
  304. `Additional Outcome Specifier`
  305. ),
  306. hover = glue::glue(
  307. "<b style='color:#0b2545'>{`Study Authors`} ({Year})</b><br>",
  308. "{outcome_label}<br><br>",
  309. "<b>{isch} min · {round(.data[[ycol]], 1)}% perfused</b><br>",
  310. "n = {ifelse(is.na(n_arm), 'not reported', n_arm)} · {`Species / Strain`}<br><br>",
  311. "<b>Perfusate:</b> {perfusate}<br>",
  312. "<b>Adequacy criterion:</b> {criterion_source}<br>",
  313. "<b>Assessment:</b> {`Perfusion Quality Assessment Method`}<br><br>",
  314. "<b>{source_id}</b><br>",
  315. "<span style='color:#777'>Click point to open source paper.</span>"
  316. )
  317. )
  318. df_smooth <- df_clean |>
  319. filter(perfusate %in% c("Pure blood", "Carbon black"))
  320. smooth_dat <- loess_grid(
  321. df_smooth,
  322. ycol,
  323. span = 2
  324. )
  325. # Figure 3: shape = adequacy criterion
  326. if (ycol == "pct_brains") {
  327. ggplot(df_clean, aes(
  328. x = isch,
  329. y = .data[[ycol]],
  330. colour = perfusate,
  331. size = n_plot,
  332. shape = criterion_source,
  333. text = hover,
  334. key = Link,
  335. customdata = Link
  336. )) +
  337. geom_jitter(width = 0.02, alpha = 0.4) +
  338. geom_line(
  339. data = smooth_dat,
  340. aes(
  341. x = isch,
  342. y = fit,
  343. colour = perfusate,
  344. group = perfusate
  345. ),
  346. linewidth = 1,
  347. inherit.aes = FALSE,
  348. show.legend = FALSE
  349. ) +
  350. scale_shape_manual(
  351. values = c(
  352. "Review-defined criterion" = 16,
  353. "Study-defined criterion" = 17
  354. ),
  355. name = "Adequacy criterion"
  356. ) +
  357. scale_colour_manual(values = perf_cols, drop = TRUE) +
  358. scale_size_continuous(
  359. range = c(1.5, 7),
  360. breaks = c(2, 5, 10, 20),
  361. limits = c(1, NA)
  362. ) +
  363. scale_x_log10(
  364. breaks = c(2.5, 5, 10, 15, 20, 30, 60),
  365. minor_breaks = NULL
  366. ) +
  367. labs(
  368. x = "Ischemia duration (min, log scale)",
  369. y = ylab,
  370. colour = "Perfusate",
  371. size = "n per arm",
  372. title = title_txt
  373. ) +
  374. coord_cartesian(ylim = c(-5, 105)) +
  375. theme_bw(base_size = 13) +
  376. theme(
  377. legend.position = "top",
  378. legend.box = "vertical",
  379. legend.margin = margin(2, 2, 2, 2),
  380. legend.spacing.y = unit(2, "pt"),
  381. plot.title = element_text(size = 16),
  382. axis.title = element_text(size = 14),
  383. axis.text = element_text(size = 12),
  384. legend.text = element_text(size = 12),
  385. legend.title = element_text(size = 13)
  386. )
  387. } else {
  388. # Figure 2: no shape encoding needed
  389. ggplot(df_clean, aes(
  390. x = isch,
  391. y = .data[[ycol]],
  392. colour = perfusate,
  393. size = n_plot,
  394. text = hover,
  395. key = Link,
  396. customdata = Link
  397. )) +
  398. geom_jitter(width = 0.02, alpha = 0.4) +
  399. geom_line(
  400. data = smooth_dat,
  401. aes(
  402. x = isch,
  403. y = fit,
  404. colour = perfusate,
  405. group = perfusate
  406. ),
  407. linewidth = 1,
  408. inherit.aes = FALSE,
  409. show.legend = FALSE
  410. ) +
  411. scale_colour_manual(values = perf_cols, drop = TRUE) +
  412. scale_size_continuous(
  413. range = c(1.5, 7),
  414. breaks = c(2, 5, 10, 20),
  415. limits = c(1, NA)
  416. ) +
  417. scale_x_log10(
  418. breaks = c(2.5, 5, 10, 15, 20, 30, 60),
  419. minor_breaks = NULL
  420. ) +
  421. labs(
  422. x = "Ischemia duration (min, log scale)",
  423. y = ylab,
  424. colour = "Perfusate",
  425. size = "n per arm",
  426. title = title_txt
  427. ) +
  428. coord_cartesian(ylim = c(-5, 105)) +
  429. theme_bw(base_size = 13) +
  430. theme(
  431. legend.position = "top",
  432. legend.box = "vertical",
  433. legend.margin = margin(2, 2, 2, 2),
  434. legend.spacing.y = unit(2, "pt"),
  435. plot.title = element_text(size = 16),
  436. axis.title = element_text(size = 14),
  437. axis.text = element_text(size = 12),
  438. legend.text = element_text(size = 12),
  439. legend.title = element_text(size = 13)
  440. )
  441. }
  442. }
  443. make_interactive <- function(p, output_file, page_title) {
  444. p_interactive <- p +
  445. ggplot2::labs(title = NULL) +
  446. ggplot2::theme(plot.title = ggplot2::element_blank())
  447. fig <- plotly::ggplotly(
  448. p_interactive,
  449. tooltip = "text",
  450. width = 1500,
  451. height = 900
  452. ) |>
  453. plotly::layout(
  454. showlegend = FALSE,
  455. autosize = TRUE,
  456. hoverlabel = list(
  457. bgcolor = "white",
  458. bordercolor = "#cccccc",
  459. font = list(color = "#111111", size = 13, family = "Arial")
  460. ),
  461. margin = list(l = 90, r = 30, t = 20, b = 80)
  462. ) |>
  463. htmlwidgets::onRender("
  464. function(el, x) {
  465. el.on('plotly_click', function(d) {
  466. var pt = d.points[0];
  467. var url = null;
  468. if (pt.customdata) {
  469. url = pt.customdata;
  470. } else if (pt.data.customdata && pt.data.customdata[pt.pointNumber]) {
  471. url = pt.data.customdata[pt.pointNumber];
  472. } else if (pt.data.key && pt.data.key[pt.pointNumber]) {
  473. url = pt.data.key[pt.pointNumber];
  474. }
  475. if (url && url !== 'NA' && url !== 'Not found.') {
  476. window.open(url, '_blank');
  477. }
  478. });
  479. }
  480. ")
  481. if (page_title == "Frequency of adequate perfusion") {
  482. legend_html <- htmltools::tags$div(
  483. style = "
  484. font-family: Arial, sans-serif;
  485. font-size: 15px;
  486. color: #222;
  487. margin: 0 0 12px 0;
  488. line-height: 1.5;
  489. ",
  490. htmltools::tags$div(
  491. htmltools::tags$b("Perfusate: "),
  492. htmltools::tags$span(style = "color:#0072B2;", "● Pure blood "),
  493. htmltools::tags$span(style = "color:#D55E00;", "● Carbon black "),
  494. htmltools::tags$span(style = "color:#CC79A7;", "● Mixed blood "),
  495. htmltools::tags$span(style = "color:#666666;", "● Other non-blood")
  496. ),
  497. htmltools::tags$div(
  498. htmltools::tags$b("Shape: "),
  499. htmltools::tags$span("● Review-defined adequacy criterion "),
  500. htmltools::tags$span("▲ Study-defined adequacy criterion")
  501. ),
  502. htmltools::tags$div(
  503. htmltools::tags$b("Size: "),
  504. htmltools::tags$span(
  505. "larger points = larger n per arm; unreported n plotted at minimum size"
  506. )
  507. ),
  508. htmltools::tags$div(
  509. htmltools::tags$b("Trend: "),
  510. htmltools::tags$span(
  511. "LOESS smoothers are shown for pure blood and carbon black as descriptive trends; no inferential confidence intervals are shown."
  512. )
  513. )
  514. )
  515. } else {
  516. legend_html <- htmltools::tags$div(
  517. style = "
  518. font-family: Arial, sans-serif;
  519. font-size: 15px;
  520. color: #222;
  521. margin: 0 0 12px 0;
  522. line-height: 1.5;
  523. ",
  524. htmltools::tags$div(
  525. htmltools::tags$b("Perfusate: "),
  526. htmltools::tags$span(style = "color:#0072B2;", "● Pure blood "),
  527. htmltools::tags$span(style = "color:#D55E00;", "● Carbon black ")
  528. ),
  529. htmltools::tags$div(
  530. htmltools::tags$b("Size: "),
  531. htmltools::tags$span(
  532. "larger points = larger n per arm; unreported n plotted at minimum size"
  533. )
  534. ),
  535. htmltools::tags$div(
  536. htmltools::tags$b("Trend: "),
  537. htmltools::tags$span(
  538. "LOESS smoothers are shown for pure blood and carbon black as descriptive trends; no inferential confidence intervals are shown."
  539. )
  540. )
  541. )
  542. }
  543. fig_page <- htmlwidgets::prependContent(
  544. fig,
  545. htmltools::tags$div(
  546. style = "padding: 30px; max-width: 1600px; margin: 0 auto;",
  547. htmltools::tags$h1(page_title),
  548. legend_html
  549. )
  550. )
  551. fig_page <- htmlwidgets::appendContent(
  552. fig_page,
  553. htmltools::tags$div(
  554. style = "padding: 0 30px 30px 30px; max-width: 1600px; margin: 0 auto;",
  555. htmltools::tags$p(
  556. class = "note",
  557. "Hover over points for study details. Click a point to open the source paper."
  558. )
  559. )
  560. )
  561. htmlwidgets::saveWidget(
  562. fig_page,
  563. file = output_file,
  564. selfcontained = TRUE,
  565. title = page_title
  566. )
  567. }
  568. fig1a <- make_plot(d, "pct_brain", "% of brain perfused", "Spatial completeness of perfusion")
  569. ggsave("fig1a_pct_brain.png", fig1a, width = 7.5, height = 7, dpi = 150)
  570. fig1b <- make_plot(d, "pct_brains", "% of brains adequately perfused", "Frequency of adequate perfusion")
  571. ggsave("fig1b_pct_brains.png", fig1b, width = 7.5, height = 7, dpi = 150)
  572. make_interactive(
  573. fig1a,
  574. "fig1a_pct_brain_interactive.html",
  575. "Spatial completeness of perfusion"
  576. )
  577. make_interactive(
  578. fig1b,
  579. "fig1b_pct_brains_interactive.html",
  580. "Frequency of adequate perfusion"
  581. )
  582. # ===========================================================
  583. # 3. Arms not represented in spatial completeness figure (qualitative CBF arms)
  584. # ===========================================================
  585. d2 <- ext |>
  586. mutate(
  587. pct_brain = parse_pct(`Converted % Brain Perfused`),
  588. pct_brains = parse_brains(`% Brains Adequately Perfused`),
  589. isch = parse_num(`Ischemia Duration (min)`),
  590. cat_raw = trimws(`Perfusion Quality Category`)
  591. ) |>
  592. filter(isch <= 60)
  593. not_in_fig2 <- d2 |> filter(is.na(pct_brain))
  594. qual_cat <- function(x) {
  595. x <- tolower(x)
  596. case_when(
  597. grepl("hyperperfusion|hyperemia", x) ~ "Reactive hyperemia",
  598. grepl("no-reflow absent", x) ~ "No-reflow absent",
  599. grepl("no-reflow present", x) ~ "No-reflow present",
  600. grepl("hypoperfusion", x) ~ "Hypoperfusion (other)",
  601. grepl("qualitative flow present", x) ~ "Qualitative flow present",
  602. grepl("qualitative flow absent", x) ~ "Qualitative flow absent",
  603. TRUE ~ paste0("OTHER: ", x)
  604. )
  605. }
  606. not_in_fig2 <- not_in_fig2 |>
  607. mutate(
  608. qcat = qual_cat(cat_raw),
  609. tier = case_when(
  610. qcat %in% c("Reactive hyperemia", "No-reflow absent",
  611. "Qualitative flow present") ~ "adequate",
  612. qcat == "Hypoperfusion (other)" ~ "reduced",
  613. qcat %in% c("No-reflow present",
  614. "Qualitative flow absent") ~ "failed")
  615. )
  616. cat("\n--- Arms not in Fig 2, by qualitative category ---\n")
  617. print(table(not_in_fig2$qcat))
  618. not_in_fig2 |>
  619. group_by(tier) |>
  620. summarise(n = n(), median_isch = median(isch, na.rm = TRUE),
  621. q25 = quantile(isch, .25, na.rm = TRUE),
  622. q75 = quantile(isch, .75, na.rm = TRUE),
  623. min = min(isch, na.rm = TRUE),
  624. max = max(isch, na.rm = TRUE), .groups = "drop") |>
  625. as.data.frame() |> print()
  626. cat("\nAdequate vs failed tier, ischemia duration (Wilcoxon rank-sum):\n")
  627. print(wilcox.test(
  628. not_in_fig2 |> filter(tier == "adequate") |> pull(isch),
  629. not_in_fig2 |> filter(tier == "failed") |> pull(isch)
  630. ))

ischemia_review_code.R at commit 2d68580, no license · at the source

Overview

  1. Apex Neuroscience, Salem, OR 97317, USA; (J.K.); (D.W.)
  2. Nectome, Vancouver, WA 98682, USA
  3. European Institute for Brain Research, 1013LE Amsterdam, The Netherlands
Journal: Brain sciences, volume 16, issue 8, article 882
Dates: received 10 July 2026; accepted 13 August 2026; published online 19 August 2026
Type: Review · Language: English
License: CC BY
Identifiers: DOI 10.3390/brainsci16080882 · PMID 42651190 · PMCID PMC13510562 · OpenAlex W7169072823
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), other (organism), stroke (population), clinical / translational (subfield)
Keywords: ischemia, cerebral perfusion, no-reflow phenomenon, circulatory arrest, reperfusion, brain banking, resuscitation
Topic: Acute Ischemic Stroke Management (Epidemiology, Medicine), according to OpenAlex
Citations: not cited yet (Europe PMC); 80 references in the paper

Abstract

Highlights: What are the main findings?

How long the brain remains perfusable after circulatory arrest still needs to be established definitely.

Perfusion quality declines with increasing duration of global cerebral ischemia, but the available evidence does not identify a consistent sharp temporal threshold.

What are the implications of the main findings?

Standardized, precise measures of perfusion quality are needed at the level of microvasculature.

The perfusability window of the human brain may be extendable through pre-mortem or post-mortem interventions. This will require consideration not only of efficacy but also of practical, ethical, and legal constraints.

Abstract: Background: Global cerebral ischemia initiates a cascade of pathophysiological changes that progressively impair subsequent perfusion of brain tissue. Some authors have proposed that adequate cerebral perfusion becomes impossible after approximately 10–30 min of global ischemia. However, the extant evidence base for this threshold and its variations across studies has not yet been systematically examined. Objective: To synthesize the literature on post-ischemic cerebral perfusion success as a function of ischemia duration. Methods: We searched PubMed (11 February 2026) for studies of global cerebral ischemia in animal or human models that reported quantitative or categorical measures of perfusion quality. Eligible studies included those assessing perfusion via restoration of blood flow, via external perfusion of non-blood solutions, and/or via tracer injection following reperfusion. Studies of focal ischemia were excluded. Data extracted included species, ischemia duration, temperature during ischemia, ischemia model, perfusate type, and perfusion quality assessment method. The perfusion quality outcome was operationalized as either the average percentage of brain tissue perfused or the percentage of brains in a group that was adequately perfused. Study quality was assessed using a custom domain-specific checklist. Results: We included 60 studies with 192 study arms reporting on the perfusion of the brains of rabbits, rats, pigs, dogs, cats, and humans. Studies differed in the model of ischemia, the perfusate, the perfusion parameters, the quality assessment methods, and other factors. Longer ischemia was associated with lower perfusion quality, but substantial heterogeneity across studies prevented identification of a consistent sharp temporal threshold. Some studies found that at least partial perfusion was possible after longer periods. Within-study dose–response curves were more consistent than the pooled cross-study pattern. Conclusions: How long the brain remains perfusable after circulatory arrest has not yet been definitively established. On average, perfusion quality clearly declines rapidly as the duration of global cerebral ischemia increases. However, some studies, often using interventions such as hypothermia or vasopressors, have reported at least partial perfusion of the brain even after 30 or 60 min of ischemia. Moreover, at least partial perfusion has been reported in human brain banking studies after postmortem intervals of several hours or days in some donors. Limitations of this review include substantial heterogeneity in study methods and outcome measures, which precluded formal meta-analysis. Future research may benefit from more thorough and precise measures of perfusion quality.

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

andymckenzie/Ischemic_perfusion_review

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 2d685802b951125875e0ea9b9f0b591abe326829, 11 August 2026
Languages: R (1)
Size: 7 files, 1 script
Software Heritage: not archived
Found in: “Data Availability Statement”
Holds: README, documentation
Not found: license file, CITATION.cff, environment file, tests, continuous integration
Tools: ggplot2 (1 file), patchwork (1 file), Plotly (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
2 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;
  • 1 script, each with its path and the digest of its content;
  • 6 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data Availability Statement

R code and data used for analysis are available at https://github.com/andymckenzie/Ischemic_perfusion_review (accessed on 12 August 2026).

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 7 keywords, 77 references.

Cite

This paper

Kalfus, J., Ward, D., Wróbel, B., & McKenzie, A. T. (2026). How Long Is the Brain Perfusable After Global Ischemia? A Systematic Review. Brain sciences, 16(8), 882. https://doi.org/10.3390/brainsci16080882

BibTeX

@article{kalfus2026how,
author = {Kalfus, Jeremy and Ward, Devin and Wróbel, Borys and McKenzie, Andrew T},
title = {{How Long Is the Brain Perfusable After Global Ischemia? A Systematic Review}},
journal = {Brain sciences},
year = {2026},
month = aug,
volume = {16},
number = {8},
pages = {882},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {2076-3425},
doi = {10.3390/brainsci16080882},
url = {https://doi.org/10.3390/brainsci16080882},
pmid = {42651190},
pmcid = {PMC13510562}
}

RIS

TY - JOUR
AU - Kalfus, Jeremy
AU - Ward, Devin
AU - Wróbel, Borys
AU - McKenzie, Andrew T
TI - How Long Is the Brain Perfusable After Global Ischemia? A Systematic Review
T2 - Brain sciences
J2 - Brain Sci
PY - 2026
DA - 2026/08/19
VL - 16
IS - 8
SP - 882
SN - 2076-3425
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/brainsci16080882
UR - https://doi.org/10.3390/brainsci16080882
LA - en
ER -

CSL-JSON

{
"id": "10.3390/brainsci16080882",
"type": "article-journal",
"title": "How Long Is the Brain Perfusable After Global Ischemia? A Systematic Review",
"container-title": "Brain sciences",
"author": [
{
"family": "Kalfus",
"given": "Jeremy"
},
{
"family": "Ward",
"given": "Devin"
},
{
"family": "Wróbel",
"given": "Borys"
},
{
"family": "McKenzie",
"given": "Andrew T"
}
],
"container-title-short": "Brain Sci",
"volume": "16",
"issue": "8",
"page": "882",
"DOI": "10.3390/brainsci16080882",
"PMID": "42651190",
"PMCID": "PMC13510562",
"ISSN": "2076-3425",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://doi.org/10.3390/brainsci16080882",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
19
]
]
}
}

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.1371/journal.pone.0344932 [code]
Cryopreservation of aldehyde-fixed whole brains.
Journal: PloS one
In common: ggplot2, 2 references, author Andrew T McKenzie
[2] doi:10.17879/freeneuropathology-2026-9411 [code]
Brain extraction for fixed tissue banking: a technical report.
Journal: Free neuropathology
In common: ggplot2, tidyverse, 3 references
[3] doi:10.1016/j.isci.2026.115196 [code]
Transcriptional and cellular maturation of the chick spinal cord in the context of distinct neuromuscular circuits.
Journal: iScience
In common: Plotly, patchwork, ggplot2, 1 other tool, other
[4] doi:10.1016/j.stemcr.2026.102922 [code]
Spatially resolved transcriptomics identifies intercellular signaling post-ischemic stroke that controls neural stem cell proliferation.
Journal: Stem cell reports
In common: Plotly, patchwork, ggplot2, 1 other tool, stroke
[5] doi:10.1038/s41514-026-00397-3 [code]
Nasal administration of Protollin enhances monocyte phagocytosis and decreases CD8&lt;sup&gt;+&lt;/sup&gt; T cell cytotoxicity in subjects with early Alzheimer's disease: a Phase 1 clinical trial.
Journal: npj aging
In common: Plotly, patchwork, ggplot2, 1 other tool, clinical / translational
[6] 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: Plotly, patchwork, ggplot2, 1 other tool, clinical / translational
[7] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: Plotly, patchwork, ggplot2, 1 other tool
[8] doi:10.1038/s43587-026-01207-x [code]
A microprotein atlas of the human frontal cortex in Alzheimer's disease.
Journal: Nature aging
In common: Plotly, patchwork, ggplot2, 1 other tool
[9] doi:10.1038/s41467-026-76762-3 [code]
PD-1 regulates CD4&lt;sup&gt;+&lt;/sup&gt; T cell-mediated CD8&lt;sup&gt;+&lt;/sup&gt; T cell responses in the brain to balance viral control and neuroinflammation.
Journal: Nature communications
In common: Plotly, patchwork, ggplot2, 1 other tool
[10] doi:10.1126/sciadv.aeg3223 [code]
The extreme diversity of retinal amacrine cells has deep evolutionary roots.
Journal: Science advances
In common: Plotly, patchwork, ggplot2, 1 other tool

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.