OSCR

Brain and central nervous system cancer burden in children across Asia.

Code ↔ Paper

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

6 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 10 matches
  1. [1] § STAR★Methods › Method details › Bayesian Age-Period-Cohort model ↔ 06_figs_s13_s24_bapc_validation_and_sensitivity.R, lines 1 to 55 · score 0.87 · Bayesian age period, age period cohort, retrospective validation, 1990–2013, 2014–2023, sensitivity · block oscr:b:DTMW9AM5J0MKG-7 · Report a mismatch
  2. [2] § STAR★Methods › Method details › Bayesian Age-Period-Cohort model ↔ 05_fig4_and_figs_s10_s12_bapc_forecast.R, lines 1 to 78 · score 0.81 · Bayesian age period, age period cohort, central nervous system, forecasts, overdispersion, RW2 · block oscr:b:5NEGKH5J3K1FV-E · Report a mismatch
  3. [3] § Result › Overall trends ↔ 01_table_1_and_tables_s1_s3.R, lines 52 to 107 · score 0.81 · S1 S3, prevalence rate, DALY rate, incidence rate, 0–14, 1990–2023 · block oscr:b:79EAFXDJ3VVP8-F · Report a mismatch
  4. [4] § Result › BAPC projections ↔ 05_fig4_and_figs_s10_s12_bapc_forecast.R, lines 1 to 78 · score 0.72 · S10 S12, age standardized rates, ASPR, deaths, ASMR, ASDR · block oscr:b:5NEGKH5J3K1FV-E · Report a mismatch
  5. [5] § Result › BAPC projections ↔ 06_figs_s13_s24_bapc_validation_and_sensitivity.R, lines 1 to 55 · score 0.70 · S13 S24, Retrospective validation, Sensitivity, BAPC, prevalent, ASRs · block oscr:b:DTMW9AM5J0MKG-7 · Report a mismatch
  6. [6] § STAR★Methods › Method details › Outcome measures › Age-standardised rate ↔ 01_table_1_and_tables_s1_s3.R, lines 52 to 107 · score 0.67 · prevalence rate, DALY rate, disability adjusted, incidence rate, EAPC, age · block oscr:b:79EAFXDJ3VVP8-F · Report a mismatch
  7. [7] § Result › Age- and sex-specific burden trends ↔ 03_fig2_and_figs_s4_s6_age_trends_and_sex_distribution.R, lines 33 to 120 · score 0.67 · S4 S6, 10–14, 2–4, 5–9, brain, Asia · block oscr:b:KVX7S6BJVB414-Y · Report a mismatch
  8. [8] § Result › Inequality analyses ↔ 04_fig3_and_figs_s7_s9_inequality.R, lines 1 to 39 · score 0.63 · SDI ranked, S7, S9, S8, Inequality, slope · block oscr:b:DBP19V23F75K5-C · Report a mismatch
  9. [9] § Result › Overall trends ↔ 02_fig1_and_figs_s1_s3_maps.R, lines 1 to 35 · score 0.61 · S1 S3, 1990–2023, ASPR, ASMR, ASDR, ASIR · block oscr:b:6WQG28XK029QH-9 · Report a mismatch
  10. [10] § Result › Geographical heterogeneity ↔ 02_fig1_and_figs_s1_s3_maps.R, lines 1 to 35 · score 0.52 · S1 S3, ASPRs, ASDRs, ASIRs, EAPCs, mortality · block oscr:b:6WQG28XK029QH-9 · 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 · 746 lines · 31 KB · no license · 2 matches

  1. # =============================================================================
  2. # 06_figs_s13_s24_bapc_validation_and_sensitivity.R
  3. # =============================================================================
  4. # Purpose: Comprehensive BAPC (Bayesian Age-Period-Cohort) analysis including:
  5. # - Main forecast (1990-2023 -> 2050)
  6. # - Hold-out validation (train 1990-2013, validate 2014-2023)
  7. # - Sensitivity analysis (multiple model specifications)
  8. #
  9. # Corresponding manuscript outputs:
  10. # Supplementary:
  11. # - Fig. S13-S14 : Sensitivity analysis + retrospective validation for incidence
  12. # - Fig. S16-S18 : Sensitivity analysis + retrospective validation for prevalence
  13. # - Fig. S19-S21 : Sensitivity analysis + retrospective validation for mortality
  14. # - Fig. S22-S24 : Sensitivity analysis + retrospective validation for DALYs
  15. #
  16. # Inputs:
  17. # - asia.csv : Asia-level combined Number + Rate data
  18. # - GBDpop1990_2100 : GBD population projections (from RData)
  19. # - dfage, age_stand : Age metadata and WHO standard weights
  20. #
  21. # Outputs (saved to bapc_outputs/):
  22. # - main_forecast/ : ASR & Number forecasts, age-specific projections
  23. # - validation/ : Validation plots & metrics (MAE, RMSE, MAPE, coverage)
  24. # - sensitivity/ : Sensitivity comparison plots & tables
  25. # - model_specs/ : Model specification tables
  26. # =============================================================================
  27. library(readr)
  28. library(dplyr)
  29. library(tidyr)
  30. library(broom)
  31. library(scales)
  32. library(tidyverse)
  33. library(ggrepel)
  34. library(ggsci)
  35. library(patchwork)
  36. library(BAPC)
  37. library(INLA)
  38. library(data.table)
  39. library(vroom)
  40. library(car)
  41. library(MASS)
  42. library(mgcv)
  43. library(splines)
  44. library(cowplot)
  45. library(segmented)
  46. library(showtext)
  47. showtext.auto()
  48. select <- dplyr::select
  49. # ------------------------------
  50. # 0. Load GBD objects
  51. # ------------------------------
  52. load("/Users/mac/Desktop/GBD最新版本/GBD/GBD2023DeepSeekV2.3.1/GBD.RData")
  53. check_duplicates <- function(df, name = "data") {
  54. dup <- df %>% count(year, age_id) %>% filter(n > 1)
  55. if (nrow(dup) > 0) {
  56. message("Found duplicated year-age_id combinations in ", name)
  57. print(dup)
  58. } else {
  59. message("No duplicated year-age_id combinations in ", name)
  60. }
  61. }
  62. # ------------------------------
  63. # 1. Read analysis data & build Asia population
  64. # ------------------------------
  65. df_raw <- fread("asia.csv") %>%
  66. mutate(measure_name = if_else(
  67. measure_name == "DALYs (Disability-Adjusted Life Years)", "DALYs", measure_name
  68. )) %>%
  69. filter(year >= 1990, year <= 2023)
  70. ASIA_IDS <- c(
  71. 6, 7, 10, 11, 12, 13, 14, 17, 15, 16, 19, 20, 18,
  72. 33, 34, 35, 37, 36, 38, 39, 40, 41,
  73. 66, 67, 68, 69, 140, 77, 85,
  74. 142, 143, 144, 145, 146, 149, 150, 151, 152,
  75. 155, 156, 153, 157, 160, 161, 162, 163, 164, 165
  76. )
  77. p <- GBDpop1990_2100
  78. asia_pop <- p %>%
  79. filter(location_id %in% ASIA_IDS) %>%
  80. group_by(sex_name, age_id, age_name, year) %>%
  81. summarise(val = sum(val, na.rm = TRUE), .groups = "drop") %>%
  82. mutate(location_id = 9999, location_name = "Asia") %>%
  83. select(location_id, location_name, sex_name, age_id, age_name, year, val)
  84. GBDpop1990_2100 <- bind_rows(p, asia_pop)
  85. # ------------------------------
  86. # 2. Global settings
  87. # ------------------------------
  88. OBS_START_YEAR <- 1990
  89. OBS_END_YEAR <- 2023
  90. MAIN_PREYEAR <- 2050
  91. TARGET_AGE_IDS <- c(1, 6, 7, 8)
  92. # ------------------------------
  93. # 3. Utility functions
  94. # ------------------------------
  95. safe_filename <- function(x) {
  96. x <- as.character(x)
  97. x <- gsub("[/\\?<>\\:*|\"]", "_", x)
  98. x <- gsub("\\s+", "_", x)
  99. x <- gsub("_+", "_", x)
  100. x
  101. }
  102. calc_metrics <- function(obs, pred, lower = NULL, upper = NULL) {
  103. mae <- mean(abs(pred - obs), na.rm = TRUE)
  104. rmse <- sqrt(mean((pred - obs)^2, na.rm = TRUE))
  105. mape <- mean(abs(pred - obs) / ifelse(obs == 0, NA, obs), na.rm = TRUE) * 100
  106. if (!is.null(lower) && !is.null(upper)) {
  107. coverage <- mean(obs >= lower & obs <= upper, na.rm = TRUE) * 100
  108. } else {
  109. coverage <- NA_real_
  110. }
  111. data.frame(MAE = mae, RMSE = rmse, MAPE = mape, PI95_coverage = coverage)
  112. }
  113. build_standard_weights <- function(age_ids_keep) {
  114. wstand <- c(
  115. sum(as.numeric(age_stand$std_population[1:2])),
  116. as.numeric(age_stand$std_population[3:21])
  117. )
  118. wstand <- wstand / sum(wstand)
  119. wstandx <- data.frame(
  120. age_id = c(1, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 30, 31, 32, 235),
  121. w = wstand
  122. )
  123. standpop <- wstandx %>%
  124. filter(age_id %in% age_ids_keep) %>%
  125. mutate(proportion = w / sum(w))
  126. return(standpop)
  127. }
  128. get_age_name_map <- function(age_ids) {
  129. dfage %>%
  130. filter(age_id %in% age_ids) %>%
  131. distinct(age_id, age_name) %>%
  132. arrange(age_id)
  133. }
  134. make_full_count_matrix <- function(dfx_num, use_age_ids,
  135. start_year = OBS_START_YEAR,
  136. end_year = OBS_END_YEAR) {
  137. dfx_num2 <- dfx_num %>%
  138. filter(year %in% start_year:end_year) %>%
  139. filter(age_id %in% use_age_ids) %>%
  140. group_by(year, age_id) %>%
  141. summarise(val = sum(as.numeric(val), na.rm = TRUE), .groups = "drop")
  142. all_grid <- expand.grid(year = start_year:end_year, age_id = use_age_ids) %>% as_tibble()
  143. out <- all_grid %>%
  144. left_join(dfx_num2, by = c("year", "age_id")) %>%
  145. mutate(val = ifelse(is.na(val), 0, round(val, 0))) %>%
  146. arrange(year, age_id)
  147. return(out)
  148. }
  149. make_apc_matrix <- function(full_df, future_end_year = MAIN_PREYEAR) {
  150. mat_obs <- full_df %>%
  151. group_by(year, age_id) %>%
  152. summarise(val = sum(as.numeric(val), na.rm = TRUE), .groups = "drop") %>%
  153. pivot_wider(names_from = age_id, values_from = val, values_fill = 0) %>%
  154. arrange(year)
  155. if (future_end_year > max(full_df$year)) {
  156. future_years <- (max(full_df$year) + 1):future_end_year
  157. mat_future <- expand.grid(year = future_years, age_id = unique(full_df$age_id)) %>%
  158. as_tibble() %>% mutate(val = NA_real_) %>%
  159. pivot_wider(names_from = age_id, values_from = val) %>% arrange(year)
  160. mat_all <- bind_rows(mat_obs, mat_future)
  161. } else {
  162. mat_all <- mat_obs
  163. }
  164. row_years <- mat_all$year
  165. mat_all <- mat_all %>% select(-year) %>% as.data.frame()
  166. rownames(mat_all) <- row_years
  167. mat_all[] <- lapply(mat_all, as.numeric)
  168. return(mat_all)
  169. }
  170. make_population_matrix <- function(loc_id, sex_name_input, use_age_ids,
  171. preyear = MAIN_PREYEAR) {
  172. pop_df <- GBDpop1990_2100 %>%
  173. filter(year %in% OBS_START_YEAR:preyear) %>%
  174. filter(location_id == loc_id) %>%
  175. filter(sex_name == sex_name_input) %>%
  176. filter(age_id %in% use_age_ids) %>%
  177. select(year, age_id, val) %>%
  178. group_by(year, age_id) %>%
  179. summarise(val = sum(as.numeric(val), na.rm = TRUE), .groups = "drop")
  180. pop_mat <- expand.grid(year = OBS_START_YEAR:preyear, age_id = use_age_ids) %>%
  181. as_tibble() %>%
  182. left_join(pop_df, by = c("year", "age_id")) %>%
  183. mutate(val = ifelse(is.na(val), 0, val)) %>%
  184. arrange(year, age_id) %>%
  185. pivot_wider(names_from = age_id, values_from = val, values_fill = 0) %>%
  186. arrange(year)
  187. row_years <- pop_mat$year
  188. pop_mat <- pop_mat %>% select(-year) %>% as.data.frame()
  189. rownames(pop_mat) <- row_years
  190. pop_mat[] <- lapply(pop_mat, as.numeric)
  191. return(pop_mat)
  192. }
  193. rename_matrix_by_age_names <- function(mat, use_age_ids) {
  194. age_map <- get_age_name_map(use_age_ids)
  195. nm <- age_map$age_name[match(as.numeric(colnames(mat)), age_map$age_id)]
  196. colnames(mat) <- nm
  197. mat
  198. }
  199. extract_agestd_rate_df <- function(glores, preyear) {
  200. agestd.rate(glores) %>%
  201. as_tibble() %>%
  202. mutate(year = OBS_START_YEAR:preyear) %>%
  203. setNames(c("pred", "sd", "year")) %>%
  204. mutate(
  205. pred = pred * 100000, sd = sd * 100000,
  206. lower95 = pred - 1.96 * sd, upper95 = pred + 1.96 * sd,
  207. lower80 = pred - 1.282 * sd, upper80 = pred + 1.282 * sd,
  208. lower50 = pred - 0.674 * sd, upper50 = pred + 0.674 * sd
  209. )
  210. }
  211. extract_agestd_number_df <- function(glores, preyear) {
  212. agestd.proj(glores) %>%
  213. as_tibble() %>%
  214. mutate(year = OBS_START_YEAR:preyear) %>%
  215. setNames(c("pred", "sd", "year")) %>%
  216. mutate(
  217. lower95 = pred - 1.96 * sd, upper95 = pred + 1.96 * sd,
  218. lower80 = pred - 1.282 * sd, upper80 = pred + 1.282 * sd,
  219. lower50 = pred - 0.674 * sd, upper50 = pred + 0.674 * sd
  220. )
  221. }
  222. extract_age_specific_rate_df <- function(glores, preyear) {
  223. dfres <- BAPC::agespec.rate(glores)
  224. age_groups <- names(dfres)
  225. process_age_group <- function(data, group_name) {
  226. data %>% as_tibble() %>%
  227. mutate(year = OBS_START_YEAR:preyear, group = group_name) %>%
  228. setNames(c("pred", "sd", "year", "group"))
  229. }
  230. purrr::map2_dfr(dfres, age_groups, process_age_group) %>%
  231. mutate(pred = pred * 100000, sd = sd * 100000,
  232. lower95 = pred - 1.96 * sd, upper95 = pred + 1.96 * sd)
  233. }
  234. extract_age_specific_number_df <- function(glores, preyear) {
  235. dfres <- BAPC::agespec.proj(glores)
  236. age_groups <- names(dfres)
  237. process_age_group <- function(data, group_name) {
  238. data %>% as_tibble() %>%
  239. mutate(year = OBS_START_YEAR:preyear, group = group_name) %>%
  240. setNames(c("pred", "sd", "year", "group"))
  241. }
  242. purrr::map2_dfr(dfres, age_groups, process_age_group) %>%
  243. mutate(lower95 = pred - 1.96 * sd, upper95 = pred + 1.96 * sd)
  244. }
  245. make_validation_plot <- function(val_df, ylab, title_text) {
  246. ggplot(val_df, aes(x = year)) +
  247. geom_ribbon(aes(ymin = lower95, ymax = upper95), fill = "#6b6ecf", alpha = 0.20) +
  248. geom_line(aes(y = pred), color = "#a696c8", linewidth = 1) +
  249. geom_point(aes(y = pred), color = "#a696c8", size = 2) +
  250. geom_line(aes(y = obs), color = "black", linewidth = 1) +
  251. geom_point(aes(y = obs), color = "black", size = 2) +
  252. theme_classic() +
  253. labs(x = "Year", y = ylab, title = title_text) +
  254. theme(
  255. plot.title = element_text(size = 14, face = "bold"),
  256. axis.title = element_text(size = 14, face = "bold"),
  257. axis.text = element_text(size = 12, face = "bold")
  258. )
  259. }
  260. make_main_forecast_plot_asr <- function(df_asr, obs_end_year, title_text = NULL) {
  261. ggplot(df_asr, aes(x = year, y = pred)) +
  262. geom_ribbon(aes(ymin = lower95, ymax = upper95), fill = "#E2E2E2", alpha = 1) +
  263. geom_ribbon(aes(ymin = lower80, ymax = upper80), fill = "#CBCDD9", alpha = 1) +
  264. geom_ribbon(aes(ymin = lower50, ymax = upper50), fill = "#013FA5", alpha = 1) +
  265. geom_line(color = "black", linewidth = 1) +
  266. geom_point(color = "black", size = 1.8) +
  267. geom_vline(xintercept = obs_end_year, linetype = "dashed", color = "grey50") +
  268. scale_x_continuous(breaks = seq(OBS_START_YEAR, max(df_asr$year), by = 5)) +
  269. labs(x = "Year", y = "Age-standardized rate per 100,000", title = title_text) +
  270. theme_classic() +
  271. theme(
  272. plot.title = element_text(size = 14, face = "bold"),
  273. axis.title = element_text(size = 14, face = "bold"),
  274. axis.text = element_text(size = 12, face = "bold")
  275. )
  276. }
  277. make_main_forecast_plot_num <- function(df_num, obs_end_year, title_text = NULL) {
  278. ggplot(df_num, aes(x = year, y = pred)) +
  279. geom_ribbon(aes(ymin = lower95, ymax = upper95), fill = "#E2E2E2", alpha = 1) +
  280. geom_ribbon(aes(ymin = lower80, ymax = upper80), fill = "#CBCDD9", alpha = 1) +
  281. geom_ribbon(aes(ymin = lower50, ymax = upper50), fill = "#013FA5", alpha = 1) +
  282. geom_line(color = "black", linewidth = 1) +
  283. geom_point(color = "black", size = 1.8) +
  284. geom_vline(xintercept = obs_end_year, linetype = "dashed", color = "grey50") +
  285. scale_x_continuous(breaks = seq(OBS_START_YEAR, max(df_num$year), by = 5)) +
  286. labs(x = "Year", y = "Number", title = title_text) +
  287. theme_classic() +
  288. theme(
  289. plot.title = element_text(size = 14, face = "bold"),
  290. axis.title = element_text(size = 14, face = "bold"),
  291. axis.text = element_text(size = 12, face = "bold")
  292. )
  293. }
  294. build_model_spec_table <- function(location_name, measure_name, sex_name,
  295. train_start, train_end, valid_start, valid_end,
  296. forecast_end, age_model, period_model, cohort_model,
  297. overdis_model, prior_main, prior_overdis,
  298. secondDiff, standard_pop) {
  299. data.frame(
  300. location_name = location_name, measure_name = measure_name, sex_name = sex_name,
  301. train_period = paste0(train_start, "-", train_end),
  302. validation_period = paste0(valid_start, "-", valid_end),
  303. forecast_end = forecast_end, age_model = age_model, period_model = period_model,
  304. cohort_model = cohort_model, overdispersion_model = overdis_model,
  305. prior_main = prior_main, prior_overdis = prior_overdis,
  306. secondDiff = secondDiff, standard_population = standard_pop,
  307. stringsAsFactors = FALSE
  308. )
  309. }
  310. # ------------------------------
  311. # 4. Core BAPC runner
  312. # ------------------------------
  313. run_bapc_core <- function(
  314. dfx_num, full_df_for_obs, location_name, measure_name,
  315. sex_name = "Both", location_id,
  316. preyear = MAIN_PREYEAR, train_end_year = OBS_END_YEAR,
  317. obs_end_year = OBS_END_YEAR, use_age_ids = TARGET_AGE_IDS,
  318. age_model = "rw2", period_model = "rw1", cohort_model = "rw2",
  319. secondDiff = FALSE, addzero = FALSE
  320. ) {
  321. count_full <- make_full_count_matrix(dfx_num, use_age_ids,
  322. start_year = OBS_START_YEAR,
  323. end_year = obs_end_year)
  324. check_duplicates(count_full, "count_full")
  325. apcNum_all <- make_apc_matrix(count_full, future_end_year = preyear)
  326. holdout_years <- integer(0)
  327. if (train_end_year < obs_end_year) {
  328. holdout_years <- (train_end_year + 1):obs_end_year
  329. apcNum_all[as.character(holdout_years), ] <- NA
  330. }
  331. Pop17 <- make_population_matrix(loc_id = location_id,
  332. sex_name_input = sex_name,
  333. use_age_ids = use_age_ids, preyear = preyear)
  334. apcNum_all <- rename_matrix_by_age_names(apcNum_all, use_age_ids)
  335. Pop17 <- rename_matrix_by_age_names(Pop17, use_age_ids)
  336. if (!addzero) {
  337. age_map_present <- dfx_num %>%
  338. distinct(age_id) %>% filter(age_id %in% use_age_ids) %>%
  339. left_join(get_age_name_map(use_age_ids), by = "age_id") %>% arrange(age_id)
  340. keep_age_names <- age_map_present$age_name
  341. keep_age_ids <- age_map_present$age_id
  342. apcNum_all <- apcNum_all %>% select(any_of(keep_age_names))
  343. Pop17 <- Pop17 %>% select(any_of(keep_age_names))
  344. } else {
  345. keep_age_ids <- use_age_ids
  346. }
  347. standpop <- build_standard_weights(keep_age_ids)
  348. gloAPC <- APCList(apcNum_all, Pop17, gf = 5, agelab = colnames(Pop17))
  349. npredict <- preyear - obs_end_year
  350. glores <- tryCatch({
  351. BAPC(
  352. gloAPC,
  353. predict = list(npredict = npredict, retro = TRUE),
  354. verbose = FALSE, secondDiff = secondDiff,
  355. model = list(
  356. age = list(model = age_model, prior = "loggamma", param = c(1, 0.00005)),
  357. period = list(include = TRUE, model = period_model, prior = "loggamma", param = c(1, 0.00005)),
  358. cohort = list(include = TRUE, model = cohort_model, prior = "loggamma", param = c(1, 0.00005)),
  359. overdis = list(include = TRUE, model = "iid", prior = "loggamma", param = c(1, 0.005))
  360. ),
  361. stdweight = standpop$proportion
  362. )
  363. }, error = function(e) {
  364. message("Custom BAPC failed, fallback to default BAPC. Error: ", e$message)
  365. BAPC(gloAPC, predict = list(npredict = npredict, retro = TRUE),
  366. verbose = FALSE, secondDiff = secondDiff,
  367. stdweight = standpop$proportion)
  368. })
  369. df_asr <- extract_agestd_rate_df(glores, preyear)
  370. df_num <- extract_agestd_number_df(glores, preyear)
  371. df_age_rate <- extract_age_specific_rate_df(glores, preyear)
  372. df_age_num <- extract_age_specific_number_df(glores, preyear)
  373. val_asr <- NULL; val_num <- NULL
  374. metrics_asr <- NULL; metrics_num <- NULL
  375. if (length(holdout_years) > 0) {
  376. obs_asr <- full_df_for_obs %>%
  377. filter(location_name == location_name, measure_name == measure_name,
  378. sex_name == sex_name, year %in% holdout_years,
  379. age_id == 27, metric_name == "Rate") %>%
  380. select(year, obs = val) %>% distinct()
  381. obs_num <- full_df_for_obs %>%
  382. filter(location_name == location_name, measure_name == measure_name,
  383. sex_name == sex_name, year %in% holdout_years,
  384. metric_name == "Number") %>%
  385. filter(age_id %in% use_age_ids) %>%
  386. group_by(year) %>% summarise(obs = sum(val, na.rm = TRUE), .groups = "drop")
  387. val_asr <- df_asr %>% filter(year %in% holdout_years) %>% left_join(obs_asr, by = "year")
  388. val_num <- df_num %>% filter(year %in% holdout_years) %>% left_join(obs_num, by = "year")
  389. metrics_asr <- calc_metrics(obs = val_asr$obs, pred = val_asr$pred,
  390. lower = val_asr$lower95, upper = val_asr$upper95) %>%
  391. mutate(outcome = "ASR", location_name = location_name, measure_name = measure_name,
  392. sex_name = sex_name, train_period = paste0(OBS_START_YEAR, "-", train_end_year),
  393. validation_period = paste0(train_end_year + 1, "-", obs_end_year),
  394. age_model = age_model, period_model = period_model,
  395. cohort_model = cohort_model, secondDiff = secondDiff)
  396. metrics_num <- calc_metrics(obs = val_num$obs, pred = val_num$pred,
  397. lower = val_num$lower95, upper = val_num$upper95) %>%
  398. mutate(outcome = "Number", location_name = location_name, measure_name = measure_name,
  399. sex_name = sex_name, train_period = paste0(OBS_START_YEAR, "-", train_end_year),
  400. validation_period = paste0(train_end_year + 1, "-", obs_end_year),
  401. age_model = age_model, period_model = period_model,
  402. cohort_model = cohort_model, secondDiff = secondDiff)
  403. }
  404. p_main_asr <- make_main_forecast_plot_asr(df_asr, obs_end_year = obs_end_year,
  405. title_text = paste0(location_name, " - ", measure_name, " - ASR forecast"))
  406. p_main_num <- make_main_forecast_plot_num(df_num, obs_end_year = obs_end_year,
  407. title_text = paste0(location_name, " - ", measure_name, " - Number forecast"))
  408. p_val_asr <- NULL; p_val_num <- NULL
  409. if (!is.null(val_asr)) {
  410. p_val_asr <- make_validation_plot(val_asr, ylab = "ASR per 100,000",
  411. title_text = paste0(location_name, " - ", measure_name, " - Validation (ASR)"))
  412. }
  413. if (!is.null(val_num)) {
  414. p_val_num <- make_validation_plot(val_num, ylab = "Number",
  415. title_text = paste0(location_name, " - ", measure_name, " - Validation (Number)"))
  416. }
  417. model_spec <- build_model_spec_table(
  418. location_name = location_name, measure_name = measure_name, sex_name = sex_name,
  419. train_start = OBS_START_YEAR, train_end = train_end_year,
  420. valid_start = ifelse(train_end_year < obs_end_year, train_end_year + 1, NA),
  421. valid_end = ifelse(train_end_year < obs_end_year, obs_end_year, NA),
  422. forecast_end = preyear, age_model = age_model, period_model = period_model,
  423. cohort_model = cohort_model, overdis_model = "iid",
  424. prior_main = "loggamma(1, 0.00005)", prior_overdis = "loggamma(1, 0.005)",
  425. secondDiff = secondDiff, standard_pop = "WHO standard population"
  426. )
  427. return(list(
  428. apc_res = glores, df_asr = df_asr, df_num = df_num,
  429. df_age_rate = df_age_rate, df_age_num = df_age_num,
  430. val_asr = val_asr, val_num = val_num,
  431. metrics_asr = metrics_asr, metrics_num = metrics_num,
  432. p_main_asr = p_main_asr, p_main_num = p_main_num,
  433. p_val_asr = p_val_asr, p_val_num = p_val_num,
  434. model_spec = model_spec
  435. ))
  436. }
  437. # ------------------------------
  438. # 5. Output directories
  439. # ------------------------------
  440. dir.create("bapc_outputs", showWarnings = FALSE)
  441. dir.create("bapc_outputs/main_forecast", showWarnings = FALSE)
  442. dir.create("bapc_outputs/validation", showWarnings = FALSE)
  443. dir.create("bapc_outputs/sensitivity", showWarnings = FALSE)
  444. dir.create("bapc_outputs/model_specs", showWarnings = FALSE)
  445. # ------------------------------
  446. # 6. Main analysis
  447. # ------------------------------
  448. all_main_metrics <- list()
  449. all_model_specs <- list()
  450. locs_to_run <- unique(df_raw$location_name)
  451. measures_to_run <- unique(df_raw$measure_name)
  452. for (loc_i in locs_to_run) {
  453. cat("\n============================\n")
  454. cat("Location:", loc_i, "\n")
  455. cat("============================\n")
  456. df_loc <- df_raw %>% filter(location_name == loc_i)
  457. for (mea_j in unique(df_loc$measure_name)) {
  458. cat("Measure:", mea_j, "\n")
  459. dfx_num <- df_loc %>%
  460. filter(measure_name == mea_j, sex_name == "Both",
  461. age_id %in% TARGET_AGE_IDS, metric_name == "Number") %>%
  462. select(location_id, location_name, measure_name, sex_name, age_id, age_name,
  463. year, metric_name, val) %>% distinct()
  464. if (nrow(dfx_num) == 0) { cat("No Number data, skip.\n"); next }
  465. location_id_i <- unique(dfx_num$location_id)[1]
  466. location_name_i <- unique(dfx_num$location_name)[1]
  467. measure_name_i <- unique(dfx_num$measure_name)[1]
  468. main_res <- run_bapc_core(
  469. dfx_num = dfx_num, full_df_for_obs = df_raw,
  470. location_name = location_name_i, measure_name = measure_name_i,
  471. sex_name = "Both", location_id = location_id_i,
  472. preyear = MAIN_PREYEAR, train_end_year = OBS_END_YEAR,
  473. obs_end_year = OBS_END_YEAR, use_age_ids = TARGET_AGE_IDS,
  474. age_model = "rw2", period_model = "rw1", cohort_model = "rw2",
  475. secondDiff = FALSE, addzero = FALSE
  476. )
  477. base_name <- paste0(safe_filename(location_name_i), "_", safe_filename(measure_name_i))
  478. write.csv(main_res$df_asr, file.path("bapc_outputs/main_forecast", paste0(base_name, "_forecast_asr.csv")), row.names = FALSE)
  479. write.csv(main_res$df_num, file.path("bapc_outputs/main_forecast", paste0(base_name, "_forecast_number.csv")), row.names = FALSE)
  480. write.csv(main_res$df_age_rate, file.path("bapc_outputs/main_forecast", paste0(base_name, "_forecast_age_specific_rate.csv")), row.names = FALSE)
  481. write.csv(main_res$df_age_num, file.path("bapc_outputs/main_forecast", paste0(base_name, "_forecast_age_specific_number.csv")), row.names = FALSE)
  482. ggsave(file.path("bapc_outputs/main_forecast", paste0(base_name, "_forecast_asr.pdf")),
  483. plot = main_res$p_main_asr, width = 10, height = 8, units = "in", dpi = 300)
  484. ggsave(file.path("bapc_outputs/main_forecast", paste0(base_name, "_forecast_number.pdf")),
  485. plot = main_res$p_main_num, width = 10, height = 8, units = "in", dpi = 300)
  486. write.csv(main_res$model_spec, file.path("bapc_outputs/model_specs", paste0(base_name, "_model_spec.csv")), row.names = FALSE)
  487. all_model_specs[[base_name]] <- main_res$model_spec
  488. }
  489. }
  490. if (length(all_model_specs) > 0) {
  491. model_specs_df <- bind_rows(all_model_specs)
  492. write.csv(model_specs_df, "bapc_outputs/model_specs/all_model_specs.csv", row.names = FALSE)
  493. }
  494. # ------------------------------
  495. # 7. Hold-out validation (1990-2013 -> 2014-2023)
  496. # ------------------------------
  497. all_val_metrics <- list()
  498. for (loc_i in locs_to_run) {
  499. cat("\n============================\n")
  500. cat("Validation Location:", loc_i, "\n")
  501. cat("============================\n")
  502. df_loc <- df_raw %>% filter(location_name == loc_i)
  503. for (mea_j in unique(df_loc$measure_name)) {
  504. cat("Validation Measure:", mea_j, "\n")
  505. dfx_num <- df_loc %>%
  506. filter(measure_name == mea_j, sex_name == "Both",
  507. age_id %in% TARGET_AGE_IDS, metric_name == "Number") %>%
  508. select(location_id, location_name, measure_name, sex_name, age_id, age_name,
  509. year, metric_name, val) %>% distinct()
  510. if (nrow(dfx_num) == 0) { cat("No Number data, skip validation.\n"); next }
  511. location_id_i <- unique(dfx_num$location_id)[1]
  512. location_name_i <- unique(dfx_num$location_name)[1]
  513. measure_name_i <- unique(dfx_num$measure_name)[1]
  514. val_res <- run_bapc_core(
  515. dfx_num = dfx_num, full_df_for_obs = df_raw,
  516. location_name = location_name_i, measure_name = measure_name_i,
  517. sex_name = "Both", location_id = location_id_i,
  518. preyear = MAIN_PREYEAR, train_end_year = 2013,
  519. obs_end_year = OBS_END_YEAR, use_age_ids = TARGET_AGE_IDS,
  520. age_model = "rw2", period_model = "rw1", cohort_model = "rw2",
  521. secondDiff = FALSE, addzero = FALSE
  522. )
  523. base_name <- paste0(safe_filename(location_name_i), "_", safe_filename(measure_name_i))
  524. if (!is.null(val_res$val_asr)) {
  525. write.csv(val_res$val_asr, file.path("bapc_outputs/validation", paste0(base_name, "_validation_asr.csv")), row.names = FALSE)
  526. ggsave(file.path("bapc_outputs/validation", paste0(base_name, "_validation_asr.pdf")),
  527. plot = val_res$p_val_asr, width = 10, height = 7, units = "in", dpi = 300)
  528. }
  529. if (!is.null(val_res$val_num)) {
  530. write.csv(val_res$val_num, file.path("bapc_outputs/validation", paste0(base_name, "_validation_number.csv")), row.names = FALSE)
  531. ggsave(file.path("bapc_outputs/validation", paste0(base_name, "_validation_number.pdf")),
  532. plot = val_res$p_val_num, width = 10, height = 7, units = "in", dpi = 300)
  533. }
  534. if (!is.null(val_res$metrics_asr)) {
  535. write.csv(val_res$metrics_asr, file.path("bapc_outputs/validation", paste0(base_name, "_metrics_asr.csv")), row.names = FALSE)
  536. all_val_metrics[[paste0(base_name, "_ASR")]] <- val_res$metrics_asr
  537. }
  538. if (!is.null(val_res$metrics_num)) {
  539. write.csv(val_res$metrics_num, file.path("bapc_outputs/validation", paste0(base_name, "_metrics_number.csv")), row.names = FALSE)
  540. all_val_metrics[[paste0(base_name, "_Number")]] <- val_res$metrics_num
  541. }
  542. }
  543. }
  544. if (length(all_val_metrics) > 0) {
  545. all_val_metrics_df <- bind_rows(all_val_metrics)
  546. write.csv(all_val_metrics_df, "bapc_outputs/validation/all_validation_metrics.csv", row.names = FALSE)
  547. }
  548. # ------------------------------
  549. # 8. Sensitivity analysis
  550. # ------------------------------
  551. sensitivity_grid <- expand.grid(
  552. train_end_year = c(2010, 2013, 2015),
  553. period_model = c("rw1", "rw2"),
  554. secondDiff = c(FALSE, TRUE),
  555. stringsAsFactors = FALSE
  556. )
  557. all_sens_metrics <- list()
  558. all_sens_summary <- list()
  559. for (loc_i in locs_to_run) {
  560. cat("\n============================\n")
  561. cat("Sensitivity Location:", loc_i, "\n")
  562. cat("============================\n")
  563. df_loc <- df_raw %>% filter(location_name == loc_i)
  564. for (mea_j in unique(df_loc$measure_name)) {
  565. cat("Sensitivity Measure:", mea_j, "\n")
  566. dfx_num <- df_loc %>%
  567. filter(measure_name == mea_j, sex_name == "Both",
  568. age_id %in% TARGET_AGE_IDS, metric_name == "Number") %>%
  569. select(location_id, location_name, measure_name, sex_name, age_id, age_name,
  570. year, metric_name, val) %>% distinct()
  571. if (nrow(dfx_num) == 0) { cat("No Number data, skip sensitivity.\n"); next }
  572. location_id_i <- unique(dfx_num$location_id)[1]
  573. location_name_i <- unique(dfx_num$location_name)[1]
  574. measure_name_i <- unique(dfx_num$measure_name)[1]
  575. base_name <- paste0(safe_filename(location_name_i), "_", safe_filename(measure_name_i))
  576. sens_plot_df <- list()
  577. for (k in 1:nrow(sensitivity_grid)) {
  578. g <- sensitivity_grid[k, ]
  579. cat(" Scenario:", k, "| train_end =", g$train_end_year,
  580. "| period_model =", g$period_model, "| secondDiff =", g$secondDiff, "\n")
  581. sens_res <- run_bapc_core(
  582. dfx_num = dfx_num, full_df_for_obs = df_raw,
  583. location_name = location_name_i, measure_name = measure_name_i,
  584. sex_name = "Both", location_id = location_id_i,
  585. preyear = MAIN_PREYEAR, train_end_year = g$train_end_year,
  586. obs_end_year = OBS_END_YEAR, use_age_ids = TARGET_AGE_IDS,
  587. age_model = "rw2", period_model = g$period_model,
  588. cohort_model = "rw2", secondDiff = g$secondDiff, addzero = FALSE
  589. )
  590. if (!is.null(sens_res$metrics_asr)) {
  591. tmp_asr <- sens_res$metrics_asr %>%
  592. mutate(scenario_id = k,
  593. scenario = paste0("train_end_", g$train_end_year,
  594. "_period_", g$period_model,
  595. "_secondDiff_", g$secondDiff))
  596. all_sens_metrics[[paste0(base_name, "_ASR_s", k)]] <- tmp_asr
  597. }
  598. if (!is.null(sens_res$metrics_num)) {
  599. tmp_num <- sens_res$metrics_num %>%
  600. mutate(scenario_id = k,
  601. scenario = paste0("train_end_", g$train_end_year,
  602. "_period_", g$period_model,
  603. "_secondDiff_", g$secondDiff))
  604. all_sens_metrics[[paste0(base_name, "_NUM_s", k)]] <- tmp_num
  605. }
  606. sens_summary <- sens_res$df_asr %>%
  607. filter(year == MAIN_PREYEAR) %>%
  608. mutate(location_name = location_name_i, measure_name = measure_name_i,
  609. train_end_year = g$train_end_year, period_model = g$period_model,
  610. secondDiff = g$secondDiff)
  611. all_sens_summary[[paste0(base_name, "_summary_", k)]] <- sens_summary
  612. sens_plot_df[[k]] <- sens_res$df_asr %>%
  613. mutate(scenario = paste0("train_end=", g$train_end_year,
  614. ", period=", g$period_model,
  615. ", secondDiff=", g$secondDiff))
  616. }
  617. sens_plot_df2 <- bind_rows(sens_plot_df)
  618. p_sens <- ggplot(sens_plot_df2, aes(x = year, y = pred, color = scenario)) +
  619. geom_line(linewidth = 1) + theme_classic() +
  620. labs(x = "Year", y = "ASR per 100,000",
  621. title = paste0(location_name_i, " - ", measure_name_i, " - Sensitivity analysis")) +
  622. theme(plot.title = element_text(size = 14, face = "bold"),
  623. axis.title = element_text(size = 14, face = "bold"),
  624. axis.text = element_text(size = 12, face = "bold"),
  625. legend.title = element_blank(), legend.text = element_text(size = 10))
  626. ggsave(file.path("bapc_outputs/sensitivity", paste0(base_name, "_sensitivity_asr.pdf")),
  627. plot = p_sens, width = 12, height = 8, units = "in", dpi = 300)
  628. }
  629. }
  630. if (length(all_sens_metrics) > 0) {
  631. all_sens_metrics_df <- bind_rows(all_sens_metrics)
  632. write.csv(all_sens_metrics_df, "bapc_outputs/sensitivity/all_sensitivity_metrics.csv", row.names = FALSE)
  633. }
  634. if (length(all_sens_summary) > 0) {
  635. all_sens_summary_df <- bind_rows(all_sens_summary)
  636. write.csv(all_sens_summary_df, "bapc_outputs/sensitivity/all_sensitivity_2050_summary.csv", row.names = FALSE)
  637. }
  638. # ------------------------------
  639. # 9. Combine model assumptions & validation metrics
  640. # ------------------------------
  641. model_specs_df <- NULL
  642. validation_metrics_df <- NULL
  643. if (file.exists("bapc_outputs/model_specs/all_model_specs.csv")) {
  644. model_specs_df <- fread("bapc_outputs/model_specs/all_model_specs.csv")
  645. }
  646. if (file.exists("bapc_outputs/validation/all_validation_metrics.csv")) {
  647. validation_metrics_df <- fread("bapc_outputs/validation/all_validation_metrics.csv")
  648. }
  649. if (!is.null(model_specs_df) && !is.null(validation_metrics_df)) {
  650. combined_table <- validation_metrics_df %>%
  651. left_join(model_specs_df, by = c("location_name", "measure_name", "sex_name"))
  652. write.csv(combined_table, "bapc_outputs/model_specs/model_assumptions_and_validation_metrics.csv", row.names = FALSE)
  653. }
  654. # ------------------------------
  655. # 10. Done
  656. # ------------------------------
  657. cat("\n====================================\n")
  658. cat("All jobs finished.\n")
  659. cat("Main forecast outputs: bapc_outputs/main_forecast/\n")
  660. cat("Validation outputs: bapc_outputs/validation/\n")
  661. cat("Sensitivity outputs: bapc_outputs/sensitivity/\n")
  662. cat("Model specs: bapc_outputs/model_specs/\n")
  663. cat("====================================\n")
  664. print("Corresponds to Fig. S13-S24 (supplementary)")

06_figs_s13_s24_bapc_validation_and_sensitivity.R at commit 292c7f3, no license · at the source

Overview

Authors: Weiqin Zhang1, Wenwen Lv2, Rui Chen3, Taixiang Liu4
  1. Department of Neurology, Children’s Hospital, Zhejiang University School of Medicine, National Clinical Research Center for Children and Adolescents’ Health and Diseases, Hangzhou 310052, China
  2. Institute of Clinical Medicine Shanghai Jiaotong University School of Medicine, Shanghai, China
  3. Department of Neonatal Surgery, Children’s Hospital, Zhejiang University School of Medicine, National Clinical Research Center for Children and Adolescents’ Health and Diseases, Hangzhou 310052, China
  4. Department of Neonatal intensive care unit, Children’s Hospital, Zhejiang University School of Medicine, National Clinical Research Center for Children and Adolescents’ Health and Diseases, Hangzhou 310052, China
Journal: iScience, volume 29, issue 6, article 116242
Dates: received 13 February 2026; accepted 19 May 2026; published online 4 June 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1016/j.isci.2026.116242 · PMID 42305603 · PMCID PMC13266199 · OpenAlex W7163518144
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism), other condition (population)
Methods: Statistics, Preprocessing
Keywords: health sciences, medicine, medical specialty, internal medicine, oncology, public health
Topic: Acute Lymphoblastic Leukemia research (Hematology, Medicine), according to OpenAlex
Funding: Natural Science Foundation of Zhejiang Province (ZCLY24H0301)
Citations: not cited yet (Europe PMC); 53 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 10 matches between paragraphs and lines of code.

Z-C-Q/CNS

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 292c7f3cd41a36d0a5f0b310797a697c1d3caa80, 10 May 2026
Languages: R (7)
Size: 9 files, 7 scripts
Software Heritage: not archived
Found in: “Data and code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (7 files), data.table (6 files), cowplot (4 files), broom (3 files), car (3 files), ggplot2 (3 files), mgcv (3 files), patchwork (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
8 files
At the source: github.com/Z-C-Q/CNS

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

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

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, 6 keywords, 1 funder, 53 references.

Cite

This paper

Zhang, W., Lv, W., Chen, R., & Liu, T. (2026). Brain and central nervous system cancer burden in children across Asia. iScience, 29(6), 116242. https://doi.org/10.1016/j.isci.2026.116242

BibTeX

@article{zhang2026brain,
author = {Zhang, Weiqin and Lv, Wenwen and Chen, Rui and Liu, Taixiang},
title = {{Brain and central nervous system cancer burden in children across Asia}},
journal = {iScience},
year = {2026},
month = jun,
volume = {29},
number = {6},
pages = {116242},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/j.isci.2026.116242},
url = {https://doi.org/10.1016/j.isci.2026.116242},
pmid = {42305603},
pmcid = {PMC13266199}
}

RIS

TY - JOUR
AU - Zhang, Weiqin
AU - Lv, Wenwen
AU - Chen, Rui
AU - Liu, Taixiang
TI - Brain and central nervous system cancer burden in children across Asia
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/06/04
VL - 29
IS - 6
SP - 116242
SN - 2589-0042
PB - Elsevier
DO - 10.1016/j.isci.2026.116242
UR - https://doi.org/10.1016/j.isci.2026.116242
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.isci.2026.116242",
"type": "article-journal",
"title": "Brain and central nervous system cancer burden in children across Asia",
"container-title": "iScience",
"author": [
{
"family": "Zhang",
"given": "Weiqin"
},
{
"family": "Lv",
"given": "Wenwen"
},
{
"family": "Chen",
"given": "Rui"
},
{
"family": "Liu",
"given": "Taixiang"
}
],
"container-title-short": "iScience",
"volume": "29",
"issue": "6",
"page": "116242",
"DOI": "10.1016/j.isci.2026.116242",
"PMID": "42305603",
"PMCID": "PMC13266199",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.isci.2026.116242",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
4
]
]
}
}

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/bioinformatics/btag592 [code]
Network-based stratification of allele-specific expression reveals patient subgroups in Huntington's disease.
Journal: Bioinformatics (Oxford, England)
In common: mgcv, broom, car, 5 other tools, other condition
[2] doi:10.1038/s43587-025-00816-2 [code]
Interleukin-12 signaling drives Alzheimer's disease pathology through disrupting neuronal and oligodendrocyte homeostasis.
Journal: Nature aging
In common: mgcv, broom, car, 5 other tools
[3] doi:10.1016/j.xgen.2023.100340 [code]
OpenPBTA: The Open Pediatric Brain Tumor Atlas.
Journal: Cell genomics
In common: broom, patchwork, cowplot, 3 other tools, other condition, 2 references
[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: car, patchwork, cowplot, 3 other tools, other condition, 2 references
[5] doi:10.1016/j.celrep.2024.115149 [code]
Single-nucleus and spatial landscape of the sub-ventricular zone in human glioblastoma.
Journal: Cell reports
In common: mgcv, broom, patchwork, 4 other tools, other condition
[6] doi:10.1038/s41598-025-17894-2 [code]
Multimodal predictors of disability progression and processing speed decline in relapsing-remitting multiple sclerosis.
Journal: Scientific reports
In common: mgcv, broom, car, 4 other tools
[7] doi:10.1186/s11689-025-09651-3 [code]
The association between infant EEG aperiodic exponent and the trajectory of restricted and repetitive behaviors for toddlers with and without autism.
Journal: Journal of neurodevelopmental disorders
In common: mgcv, broom, car, 4 other tools
[8] doi:10.15252/msb.202311670 [code]
CellNeighborEX: deciphering neighbor-dependent gene expression from spatial transcriptomics data.
Journal: Molecular systems biology
In common: mgcv, broom, patchwork, 4 other tools, other condition
[9] doi:10.1038/s41593-026-02363-4 [code]
Cortical thickness changes precede high levels of amyloid by at least 7 years.
Journal: Nature neuroscience
In common: mgcv, broom, patchwork, 4 other tools
[10] doi:10.1038/s42003-025-08859-2 [code]
Single-cell DNA methylation analysis tool Amethyst resolves distinct non-CG methylation patterns in human astrocytes and oligodendrocytes.
Journal: Communications biology
In common: mgcv, broom, patchwork, 4 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.

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.1016/j.isci.2026.116242.svg)](https://openscicode.org/badge/doi/10.1016/j.isci.2026.116242)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116242.svg
   :target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116242
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116242"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116242.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.