OSCR

A cross-species atlas of the dorsal vagal complex reveals neural mediators of the effects of cagrilintide on energy balance.

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] § Methods › snRNA-seq data analysis › Neuronal clustering ↔ analysis/cross_species_integration_full.ipynb, lines 690–698 · score 0.70 · Slc6a4, Slc17a6, Slc32a1, Chat, glutamatergic, Neurons
  2. [2] § Results › Engagement of NTS Glu8.2 Calcr/Prlh neurons by cagrilintide in rats but not in mice ↔ analysis/SCENIC_post-processing.ipynb, lines 16–133 · score 0.67 · linear mixed, weight matched control, Glu8.2, vehicle control, FDR, model
  3. [3] § Results › Engagement of NTS Glu8.2 Calcr/Prlh neurons by cagrilintide in rats but not in mice ↔ figures/figures_full.ipynb, lines 678–808 · score 0.67 · linear mixed, weight matched control, Glu8.2, vehicle control, FDR, model
  4. [4] § Methods › snRNA-seq data analysis › Initial processing ↔ analysis/macaque_integration_full.ipynb, lines 197–216 · score 0.65 · FindIntegrationAnchors, IntegrateData, SCTransform, CCA, macaque, glia
  5. [5] § Methods › Bulk RNA-seq › Logistic regression classification ↔ analysis/bulk_analysis.ipynb, lines 135–186 · score 0.64 · cv.glmnet, regression classifier, Logistic
  6. [6] § Results › Characterization of conserved Calcr-expressing cell populations ↔ figures/figures_full.ipynb, lines 484–555 · score 0.63 · Glp1r, Glu8.0, Glu4.2, Glu8.2, Ramp3, subsets
  7. [7] § Methods › Bulk RNA-seq › Logistic regression classification ↔ analysis/bulk_analysis.ipynb, lines 135–186 · score 0.63 · Logistic regression classification, vsd, glmnet, bulk, predictor, PCA
  8. [8] § Methods › snRNA-seq data analysis › Cross-species integration ↔ analysis/cross_species_integration_full.ipynb, lines 239–307 · score 0.62 · Slc38a5, Ntsr2, Myt1, Mbp, resolution, glia
  9. [9] § Methods › Spatial transcriptomics › Cell population label transfer from single-cell to the spatial transcriptomics data ↔ analysis/cross_species_integration_full.ipynb, lines 130–158 · score 0.62 · FindIntegrationAnchors, IntegrateData, SCTransform, CCA
  10. [10] § Methods › snRNA-seq data analysis › SCENIC analysis ↔ analysis/SCENIC_post-processing.ipynb, lines 16–133 · score 0.61 · linear mixed, rat neurons, SCENIC, regulon, models, Fos
  11. [11] § Methods › snRNA-seq data analysis › SCENIC analysis ↔ figures/figures_full.ipynb, lines 678–808 · score 0.59 · linear mixed, rat neurons, SCENIC, regulon, models, Fos
  12. [12] § Methods › snRNA-seq raw data processing ↔ analysis/clustering_mouse_Ludwig.ipynb, lines 4–77 · score 0.59 · CellBender, Cell Ranger, Seurat, Filtered, RNA
  13. [13] § Methods › Statistical analysis ↔ analysis/SCENIC_post-processing.ipynb, lines 195–309 · score 0.57 · linear mixed, SCENIC, pairwise, regulon, models, seq
  14. [14] § Results › Engagement of NTS Glu8.2 Calcr/Prlh neurons by cagrilintide in rats but not in mice ↔ figures/figures_full.ipynb, lines 484–555 · score 0.53 · Glu8.0, Glu4.2, Glu8.2, Ramp3, seq, Calcr
  15. [15] § Methods › snRNA-seq data analysis › Reprocessing of the AP-centric DVC atlas ↔ analysis/clustering_mouse_Ludwig.ipynb, lines 4–77 · score 0.51 · CellBender, Cell Ranger, DVC

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

Jupyter notebook · 1,210 lines · 47 KB · no license · 4 matches

  1. # %%
  2. suppressMessages(suppressWarnings(library(Seurat)))
  3. suppressMessages(suppressWarnings(library(tidyverse)))
  4. suppressMessages(suppressWarnings(library(ggpubr)))
  5. suppressMessages(suppressWarnings(library(ggrepel)))
  6. suppressMessages(suppressWarnings(library(ggrastr)))
  7. suppressMessages(suppressWarnings(library(RColorBrewer)))
  8. suppressMessages(suppressWarnings(library(ggdendro)))
  9. suppressMessages(suppressWarnings(library(cowplot)))
  10. suppressMessages(suppressWarnings(library(reshape2)))
  11. suppressMessages(suppressWarnings(library(gtools)))
  12. suppressMessages(suppressWarnings(library(ggplot2)))
  13. suppressMessages(suppressWarnings(library(stringr)))
  14. suppressMessages(suppressWarnings(library(ggalluvial)))
  15. suppressMessages(suppressWarnings(library(openxlsx)))
  16. suppressMessages(suppressWarnings(library(lme4)))
  17. suppressMessages(suppressWarnings(library(emmeans)))
  18. suppressMessages(suppressWarnings(library(dplyr)))
  19. suppressMessages(suppressWarnings(library(foreach)))
  20. suppressMessages(suppressWarnings(library(doParallel)))
  21. suppressMessages(suppressWarnings(library(pheatmap)))
  22. suppressMessages(suppressWarnings(library(forcats)))
  23. # %%
  24. options(repr.plot.width = 15, repr.plot.height = 15)
  25. # %% [markdown]
  26. # # Data
  27. # %%
  28. # Main (Fig. 1-4)
  29. neurons <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/Seurat_objs/integrated/neurons_finalized_2025.rds")
  30. glia <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/Seurat_objs/integrated/glia_finalized_2025.rds")
  31. neurons$cell.type <- gsub("_(\\d+)_", "\\1.", neurons$cell.type)
  32. glia$cell.type <- gsub("_", " ", glia$cell.type)
  33. DefaultAssay(neurons) <- "integrated"
  34. DefaultAssay(glia) <- "integrated"
  35. # Spatial (Fig. 2)
  36. spatial <- readRDS("/projects/perslab/people/jmg776/projects/DVC/analysis/revision/spatial_transcriptomics_dvc/processed_data/spatial_object_preprocessed+labelled.rds")
  37. # CELLEX (Fig. 2-3)
  38. cellex_mouse <- read.table("/projects/perslab/people/jmg776/projects/DVC/output/CELLEX/output/neurons_mouse_2025.esmu.csv", header = TRUE, sep = ",", row.names = 1)
  39. cellex_rat <- read.table("/projects/perslab/people/jmg776/projects/DVC/output/CELLEX/output/neurons_rat_2025.esmu.csv", header = TRUE, sep = ",", row.names = 1)
  40. cellex_macaque <- read.table("/projects/perslab/people/jmg776/projects/DVC/output/CELLEX/output/neurons_macaque_2025.esmu.csv", header = TRUE, sep = ",", row.names = 1)
  41. colnames(cellex_mouse) <- gsub("_(\\d+)_", "\\1.", colnames(cellex_mouse))
  42. colnames(cellex_rat) <- gsub("_(\\d+)_", "\\1.", colnames(cellex_rat))
  43. colnames(cellex_macaque) <- gsub("_(\\d+)_", "\\1.", colnames(cellex_macaque))
  44. # Ludwig 2021 (Fig. 3)
  45. ludwig2021_neurons <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/Seurat_objs/mouse/mouse_neurons_Ludwig_reintegrated_Seurat_obj.rds")
  46. # Bregma meta (Fig. 3)
  47. roi_bregma <- read.table("/projects/perslab/people/jmg776/projects/DVC/analysis/revision/spatial_transcriptomics_dvc/ROI_Bregma.tsv", sep = "\t", header = TRUE)
  48. # SCENIC (Fig. 4)
  49. rat.AUC <- read.csv("/projects/perslab/people/jmg776/projects/DVC/output/SCENIC/rat_DVC_neurons_2025/rat_DVC_neurons_2025_auc.csv", header = TRUE, row.names = 1)
  50. mouse.AUC <- read.csv("/projects/perslab/people/jmg776/projects/DVC/output/SCENIC/mouse_DVC_neurons_2025/mouse_DVC_neurons_2025_auc.csv", header = TRUE, row.names = 1)
  51. # DEGs (Fig. 4)
  52. DEGs.sc.mouse.neurons.acute <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/single-cell/DESeq2_mouse_neurons_acute_AM833_2025.rds")
  53. DEGs.sc.mouse.glia.acute <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/single-cell/DESeq2_mouse_glia_acute_AM833_2025.rds")
  54. DEGs.sc.mouse.neurons.chronic <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/single-cell/DESeq2_mouse_neurons_chronic_AM833_2025.rds")
  55. DEGs.sc.mouse.glia.chronic <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/single-cell/DESeq2_mouse_glia_chronic_AM833_2025.rds")
  56. DEGs.sc.rat.neurons.acute <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/single-cell/DESeq2_rat_neurons_acute_AM833_2025.rds")
  57. DEGs.sc.rat.glia.acute <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/single-cell/DESeq2_rat_glia_acute_AM833_2025.rds")
  58. DEGs.sc.rat.neurons.chronic <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/single-cell/DESeq2_rat_neurons_chronic_AM833_2025.rds")
  59. DEGs.sc.rat.glia.chronic <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/single-cell/DESeq2_rat_glia_chronic_AM833_2025.rds")
  60. DEGs.bulk.mouse.acute <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/bulk/DESeq2_mouse_acute.rds")
  61. DEGs.bulk.rat.acute <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/bulk/DESeq2_rat_acute.rds")
  62. DEGs.bulk.mouse.chronic <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/bulk/DESeq2_mouse_chronic.rds")
  63. DEGs.bulk.rat.chronic <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/bulk/DESeq2_rat_chronic.rds")
  64. DEGs.sc.mouse.acute <- c(DEGs.sc.mouse.glia.acute, DEGs.sc.mouse.neurons.acute)
  65. DEGs.sc.mouse.chronic <- c(DEGs.sc.mouse.glia.chronic, DEGs.sc.mouse.neurons.chronic)
  66. DEGs.sc.rat.acute <- c(DEGs.sc.rat.glia.acute, DEGs.sc.rat.neurons.acute)
  67. DEGs.sc.rat.chronic <- c(DEGs.sc.rat.glia.chronic, DEGs.sc.rat.neurons.chronic)
  68. names(DEGs.sc.mouse.acute) <- gsub("_(\\d+)_", "\\1.", names(DEGs.sc.mouse.acute))
  69. names(DEGs.sc.rat.acute) <- gsub("_(\\d+)_", "\\1.", names(DEGs.sc.rat.acute))
  70. names(DEGs.sc.mouse.chronic) <- gsub("_(\\d+)_", "\\1.", names(DEGs.sc.mouse.chronic))
  71. names(DEGs.sc.rat.chronic) <- gsub("_(\\d+)_", "\\1.", names(DEGs.sc.rat.chronic))
  72. # Logistic regression (Fig. 4)
  73. glmnet.data <- readRDS("/projects/perslab/people/jmg776/projects/DVC/output/DEGs/bulk/glmnet.rds")
  74. # %% [markdown]
  75. # # Figure 1
  76. # %% [markdown]
  77. # ## B. UMAP of neurons colored by cell type
  78. # %%
  79. umap_embed_neurons <- as.data.frame(neurons@reductions$[email hidden]) %>%
  80. mutate(
  81. celltype = neurons$cell.type,
  82. celltype_numeric = as.numeric(factor(celltype, levels = str_sort(unique(celltype), numeric = TRUE))) # Assign numeric IDs to cell types sorted numerically (ensures 'Glu9.0' precedes 'Glu10.0')
  83. )
  84. label <- umap_embed_neurons %>%
  85. group_by(celltype_numeric) %>%
  86. summarize(x = median(umap_1), y = median(umap_2))
  87. # %%
  88. p <- ggplot(umap_embed_neurons, aes(x = umap_1, y = umap_2, colour = factor(celltype_numeric))) +
  89. geom_point_rast(size = 0.1, alpha = 0.5) +
  90. theme_pubr() +
  91. theme(
  92. axis.line = element_line(colour = "black", linewidth = 0.5),
  93. panel.grid = element_blank(),
  94. panel.border = element_blank(),
  95. panel.background = element_blank(),
  96. legend.position = "none",
  97. axis.title = element_text(size = 6, face = "bold", family = "sans"),
  98. axis.text = element_text(size = 6, face = "bold", family = "sans")
  99. ) +
  100. labs(x = "UMAP 1", y = "UMAP 2") +
  101. scale_color_manual(values = c(
  102. "#6D655E", "#B45C20", "#9ABDA4", "#FEEF94", "#A6B8B3",
  103. "#e586f7", "#92AEA5", "#76479F", "#8F7C00", "#8AC48E",
  104. "#9D5F35", "#F0A0FF", "#0075DC", "#856249", "#FEF495",
  105. "#B8228D", "#95603C", "#565AA7", "#EAF09B", "#6F94A9",
  106. "#C7D69F", "#2BCE48", "#3A6DAF", "#A4BCA3", "#D2B3BA",
  107. "#4C7AAD", "#ED0679", "#D80F85", "#756458", "#E3B8A5",
  108. "#ABB5BB", "#005C31", "#94FFB5", "#5EF1F2", "#FEE390",
  109. "#84C686", "#DDB7AC", "#AC5D26", "#610075", "#7FC97F",
  110. "#F9BF89", "#CDB2C1", "#00998F", "#5D87AB", "#6651A3",
  111. "#A55E2E", "#FEFA97", "#EEBB97", "#F4BD90", "#C1AFCF",
  112. "#A0BAAC", "#D9E39D", "#4563AC", "#BCAED1", "#E9BA9E",
  113. "#8FC195", "#666666", "#B1B3C2", "#B5C9A1", "#FDDE8F",
  114. "#FDD88D", "#873E9A", "#7D6351", "#FEE992", "#81A1A7",
  115. "#f6c7ff", "#FDCD8A", "#8D6143", "#E90E70", "#95BF9D",
  116. "#C7B0C8", "#FDD38B", "#C2551D", "#FDC286", "#B6B1CA",
  117. "#FDC788", "#FCFD99", "#E41667", "#E90680", "#A72B92"
  118. )) +
  119. geom_text(
  120. data = label, aes(label = celltype_numeric, x = x, y = y),
  121. size = 6 / .pt,
  122. fontface = "bold",
  123. inherit.aes = FALSE
  124. )
  125. p
  126. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_1b.pdf", height = 4, width = 5)
  127. # %% [markdown]
  128. # ## C. Neuronal cell population proportion bar plot
  129. # %%
  130. full_df <- [email hidden] %>%
  131. filter(species %in% c("macaque", "rat") | dataset == "mouse.2023") %>%
  132. mutate(
  133. celltype = cell.type,
  134. celltype_numeric = as.numeric(factor(celltype, levels = str_sort(unique(celltype), numeric = TRUE))), # Assign numeric IDs to cell types sorted numerically (ensures 'Glu9.0' precedes 'Glu10.0')
  135. celltype_meta = paste0(celltype_numeric, ". ", celltype) # Converts cell type names to '#. Celltype' to act as UMAP legend
  136. ) %>%
  137. count(species, celltype_numeric, celltype_meta) %>%
  138. group_by(species) %>%
  139. mutate(proportion = n / sum(n)) %>%
  140. ungroup() %>%
  141. arrange(celltype_numeric) %>%
  142. mutate(
  143. celltype_meta = factor(celltype_meta, levels = unique(celltype_meta)),
  144. species = factor(species, levels = c("mouse", "rat", "macaque"))
  145. )
  146. # %%
  147. species_offsets <- c("mouse" = -0.25, "rat" = 0, "macaque" = 0.25)
  148. full_df$offset <- species_offsets[as.character(full_df$species)]
  149. full_df$x_adj <- as.numeric(full_df$celltype_meta) + full_df$offset
  150. p <- ggplot(full_df, aes(x = x_adj, y = proportion, fill = species)) +
  151. geom_bar(stat = "identity", width = 0.2) + # Adjust width as needed
  152. scale_x_continuous(
  153. breaks = unique(full_df$celltype_numeric),
  154. labels = levels(full_df$celltype_meta)
  155. ) +
  156. scale_y_continuous(labels = scales::percent_format(accuracy = 1)) + # Display y-axis as percentages
  157. scale_fill_manual(
  158. values = c("mouse" = "#75C0AF", "rat" = "#546577", "macaque" = "#DC7040")
  159. ) +
  160. theme_minimal() +
  161. labs(x = NULL, y = "Proportion", fill = "Species") +
  162. theme(
  163. axis.text.x = element_text(
  164. angle = 90, hjust = 1, vjust = 0.5, size = 5
  165. ),
  166. panel.grid = element_blank()
  167. )
  168. p
  169. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_1c.pdf", p, width = 15, height = 10) # Full figure, process further in illustrator
  170. # %% [markdown]
  171. # ## D. UMAP of species in neurons
  172. # %%
  173. neurons_sub <- subset(neurons, dataset %in% c("mouse.2023", "rat.2023", "macaque.2023"))
  174. umap_embed_neurons <- as.data.frame(neurons_sub@reductions$[email hidden]) %>%
  175. mutate(
  176. species = factor(neurons_sub$species, levels = c("mouse", "rat", "macaque"))
  177. ) %>%
  178. sample_frac(1) # Shuffle the rows
  179. # %%
  180. p <- ggplot(umap_embed_neurons, aes(umap_1, umap_2, colour = species)) +
  181. geom_point_rast(size = 0.1, alpha = 0.5) +
  182. theme_pubr(base_size = 6, base_family = "sans") +
  183. theme(axis.line = element_line(colour = "black", size = 0.4),
  184. panel.grid.major = element_blank(),
  185. panel.grid.minor = element_blank(),
  186. panel.border = element_blank(),
  187. panel.background = element_blank(),
  188. legend.position = "right",
  189. axis.title = element_text(face = "bold"),
  190. axis.text = element_text(face = "bold")) +
  191. labs(x = "UMAP 1", y = "UMAP 2") +
  192. scale_color_manual(values = c("#75C0AF", "#546577", "#DC7040"))
  193. p
  194. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_1d.pdf", height = 4, width = 5)
  195. # %% [markdown]
  196. # ## E. UMAP of glial cells colored by species
  197. # %%
  198. umap_embed_glia <- as.data.frame(glia@reductions$[email hidden]) %>%
  199. mutate(
  200. celltype = glia$cell.type,
  201. species = factor(glia$species, levels = c("mouse", "rat", "macaque"))
  202. ) %>%
  203. sample_frac(1)
  204. label <- umap_embed_glia %>%
  205. group_by(celltype) %>%
  206. summarize(x = median(umap_1), y = median(umap_2))
  207. # %%
  208. p <- ggplot(umap_embed_glia, aes(x = umap_1, y = umap_2, colour = species)) +
  209. geom_point_rast(size = 0.1, alpha = 0.5) +
  210. theme_pubr(base_size = 6, base_family = "sans") +
  211. theme(
  212. axis.line = element_line(colour = "black", size = 0.4),
  213. panel.grid = element_blank(),
  214. panel.border = element_blank(),
  215. panel.background = element_blank(),
  216. legend.position = "none",
  217. axis.title = element_text(face = "bold"),
  218. axis.text = element_text(face = "bold")
  219. ) +
  220. labs(x = "UMAP 1", y = "UMAP 2") +
  221. scale_color_manual(values = c("#75C0AF", "#546577", "#DC7040")) +
  222. geom_text(
  223. data = label, aes(label = celltype, x = x, y = y),
  224. size = 6 / .pt,
  225. fontface = "bold",
  226. inherit.aes = FALSE
  227. )
  228. p
  229. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_1e.pdf", height = 4, width = 5)
  230. # %% [markdown]
  231. # # Figure 2
  232. # %% [markdown]
  233. # ## D. Spatial enrichment plot and Calcr specificity
  234. # %% [markdown]
  235. # ### Enrichment plot
  236. # %%
  237. calculate_fisher_region_cell_property_enrichment <- function(regions,cell_properties){
  238. region_unique <- unique(na.omit(regions))
  239. cell_property_unique <- unique(na.omit(cell_properties))
  240. enrichment_matrix <- matrix(0, nrow = length(region_unique), ncol = length(cell_property_unique))
  241. rownames(enrichment_matrix) <- sort(region_unique)
  242. colnames(enrichment_matrix) <- sort(cell_property_unique)
  243. for (region in region_unique){
  244. for (cell_property in cell_property_unique){
  245. regions_test <- case_when(regions == region ~ region, TRUE ~ 'Others')
  246. cell_properties_test <- case_when(cell_properties == cell_property ~ cell_property, TRUE ~ 'Others')
  247. enrichment_matrix[region,cell_property] <- table(regions_test,cell_properties_test) %>%
  248. as.data.frame() %>%
  249. arrange(desc(regions_test != "Others"),desc(cell_properties_test != "Others")) %>%
  250. pivot_wider(names_from = cell_properties_test, values_from = Freq) %>%
  251. dplyr::select(-regions_test) %>%
  252. fisher.test(alternative="greater") %>%
  253. .[["p.value"]]
  254. }
  255. }
  256. return(enrichment_matrix)
  257. }
  258. spatial_sub <- subset(spatial, prediction.score.cell.type > 0.6)
  259. spatial_sub$region_annotated <- case_when(spatial_sub$region %in% c("Sol","Sol_R","Sol_L") ~ "NTS",
  260. spatial_sub$region %in% c("10N","10N_R","10N_L") ~ "DMV",
  261. spatial_sub$region %in% c("AP") ~ "AP",
  262. spatial_sub$region %in% c("12N") ~ "Other", # HYP
  263. spatial_sub$region %in% c("CC","4V") ~ "Other", # Ventricles
  264. spatial_sub$region %in% c("Gig","Ret_R","Ret_L") ~ "Other", # RetNuc
  265. spatial_sub$region %in% c("Pre") ~ "Other", # PrepositusNucleus
  266. spatial_sub$region %in% c("Gr","Gr_R","Gr_L") ~ "Other", # DorsalColumn
  267. spatial_sub$region %in% c("CB") ~ "Other") # Cerebellum
  268. fisher_matrix <- calculate_fisher_region_cell_property_enrichment(spatial_sub$region_annotated, spatial_sub$predicted.cell.type)
  269. colnames(fisher_matrix) <- gsub("_(\\d+)_", "\\1.", colnames(fisher_matrix))
  270. # %%
  271. inv_p <- -log(fisher_matrix)
  272. inv_p[!is.finite(inv_p)] <- max(inv_p[is.finite(inv_p)], na.rm = TRUE)
  273. df <- inv_p %>%
  274. as.data.frame() %>%
  275. rownames_to_column("region") %>%
  276. pivot_longer(-region, names_to = "cell_type", values_to = "inv_p") %>%
  277. filter(!cell_type %in% c(
  278. "Astrocytes","Oligodendrocytes","OPCs","Microglia",
  279. "Endothelial_cells","Ependymal_cells","Tanycytes",
  280. "Pericytes","VLMCs","Choroid_plexus_cells"
  281. )) %>%
  282. mutate(
  283. p = exp(-inv_p),
  284. fdr = p.adjust(p, method = "BH"),
  285. sig = fdr < 0.05,
  286. cell_type = factor(cell_type, levels = unique(cell_type))
  287. ) %>%
  288. filter(region %in% c("DMV", "NTS", "AP")) %>%
  289. group_by(cell_type) %>%
  290. filter(any(sig)) %>%
  291. ungroup() %>%
  292. mutate(
  293. cell_type = fct_drop(cell_type),
  294. region = factor(region, levels = c("AP","NTS","DMV"))
  295. )
  296. # %%
  297. p <- ggplot(df, aes(region, cell_type)) +
  298. geom_tile(
  299. aes(fill = factor(
  300. if_else(sig, as.character(region), NA_character_),
  301. levels = c("AP","NTS","DMV"))),
  302. color = "white", size = 0.2) +
  303. scale_fill_manual(
  304. values = c("AP"="#B85283","NTS"="#00A0BA","DMV"="#F0A672"),
  305. na.value = "white", drop = FALSE) +
  306. scale_y_discrete(limits = rev(levels(df$cell_type))) +
  307. theme_minimal() +
  308. theme(
  309. axis.text.x = element_text(angle = 90, vjust = 0.5, hjust = 1),
  310. axis.title = element_blank(),
  311. panel.grid = element_blank(),
  312. legend.position = "none")
  313. p # Serotonin cluster was on the periphery, not actually in the DVC and will thus be discarded
  314. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_2.1d.pdf", height = 15, width = 3)
  315. # %% [markdown]
  316. # ### Calcr specificity
  317. # %%
  318. calcr_mouse <- cellex_mouse["Calcr",]
  319. rownames(calcr_mouse) <- "Mouse"
  320. calcr_rat <- cellex_rat["Calcr",]
  321. rownames(calcr_rat) <- "Rat"
  322. calcr_macaque <- cellex_macaque["Calcr",]
  323. rownames(calcr_macaque) <- "Macaque"
  324. calcr_combined <- bind_rows(calcr_mouse, calcr_rat, calcr_macaque)[, c("Chat0.0", "GABA0.0", "GABA0.1", "GABA0.2",
  325. "GABA2.0", "GABA2.1", "GABA2.2", "GABA6.1",
  326. "GABA6.2", "Glu0.2", "Glu2.1", "Glu2.2",
  327. "Glu2.3", "Glu2.4", "Glu3.0", "Glu3.1",
  328. "Glu3.2", "Glu3.3", "Glu3.4", "Glu4.0",
  329. "Glu4.1", "Glu4.2", "Glu4.3", "Glu5.0",
  330. "Glu5.1", "Glu5.2", "Glu5.3", "Glu6.0",
  331. "Glu6.1", "Glu6.2", "Glu8.0", "Glu8.1",
  332. "Glu8.2", "Glu8.3")]
  333. # %%
  334. pheatmap(
  335. mat = t(calcr_combined),
  336. cluster_rows = FALSE,
  337. cluster_cols = FALSE,
  338. display_numbers = FALSE,
  339. breaks = c(0, 0.2, 0.4, 0.6, 0.8, 1),
  340. color = c("#FFFFFF","#91BFDB","#FFFF00","#FC8D59","#D73027"),
  341. # filename = "/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_2.2d.pdf",
  342. width = 3,
  343. height = 15)
  344. # %% [markdown]
  345. # ## G. Marker gene plot
  346. # %%
  347. Idents(neurons) <- neurons$cell.type
  348. glu02 <- FindMarkers(neurons, ident.1 = "Glu0.2")
  349. glu41 <- FindMarkers(neurons, ident.1 = "Glu4.1")
  350. glu42 <- FindMarkers(neurons, ident.1 = "Glu4.2")
  351. glu50 <- FindMarkers(neurons, ident.1 = "Glu5.0")
  352. glu61 <- FindMarkers(neurons, ident.1 = "Glu6.1")
  353. glu80 <- FindMarkers(neurons, ident.1 = "Glu8.0")
  354. glu82 <- FindMarkers(neurons, ident.1 = "Glu8.2")
  355. # %%
  356. glu53 %>% arrange(desc(avg_log2FC)) %>% head() # Manually checking and picking genes using pct.1, pct.2 and avglog2FC as guides. Cross referencing with other cell types when plotting...
  357. # %%
  358. selected_cells <- c("Glu0.2", "Glu4.1", "Glu4.2", "Glu5.0", "Glu5.3", "Glu6.1", "Glu8.0", "Glu8.2")
  359. genes <- c("Shox2", "Prrxl1", "Olfr78", "Etv1", "Grp", "Cbln2", "Dbh", "Prlh")
  360. for (i in seq_along(genes)) {
  361. # Create one violin plot for each gene. Will be concatenated later into one plot
  362. gene <- genes[i]
  363. gene_data <- data.frame(expression = neurons@assays$SCT@data[gene, neurons$cell.type %in% selected_cells],
  364. celltype = factor(neurons$cell.type[neurons$cell.type %in% selected_cells]),
  365. species = factor(neurons$species[neurons$cell.type %in% selected_cells], levels = c("mouse", "rat", "macaque")))
  366. violin_plot <- ggplot(gene_data, aes(x = celltype, y = expression, color = celltype, fill = species)) +
  367. geom_violin(scale = "width", adjust = 1, show.legend = FALSE, size = 0.2, color = "black", width = 0.8) +
  368. theme_pubr(base_size = 6, base_family = "sans") +
  369. theme(
  370. panel.grid = element_blank(),
  371. axis.line.x = element_line(color = "black", size = 0.4),
  372. axis.line.y = element_line(color = "black", size = 0.4),
  373. axis.text.y = element_text(face = "bold"),
  374. axis.text.x = element_blank(),
  375. axis.ticks.x = element_blank(),
  376. axis.title.y = element_text(face = "bold.italic", angle = 360, vjust = 0.5),
  377. plot.margin = unit(c(0, 0, 0, 0), "cm"), # Removed negative bottom margin
  378. ) +
  379. xlab("") +
  380. ylab(gene) +
  381. scale_fill_manual(
  382. values = c("#75C0AF", "#546577", "#DC7040"),
  383. name = "",
  384. labels = c("Mouse", "Rat", "Macaque")
  385. ) +
  386. scale_y_continuous(breaks = c(0, floor(max(gene_data$expression))),
  387. limits = c(0, NA))
  388. assign(paste0("violin_plot", i), violin_plot)
  389. }
  390. # %%
  391. marker_plot <- plot_grid(
  392. violin_plot1, violin_plot2, violin_plot3, violin_plot4, violin_plot5,
  393. violin_plot6, violin_plot7, violin_plot8,
  394. align = "v",
  395. ncol = 1,
  396. rel_heights = rep(0.8, 10))
  397. labels_plot <- ggplot(
  398. data.frame(celltype = factor(selected_cells)),
  399. aes(x = celltype, y = 1)) +
  400. geom_blank() +
  401. theme_void(base_size = 6, base_family = "sans") +
  402. theme(
  403. axis.text.x = element_text(face = "bold", angle = 45, hjust = 1), ) +
  404. xlab("")
  405. p <- plot_grid(marker_plot, labels_plot, ncol = 1, rel_heights = c(10, 1))
  406. p # Fix x-axis labels in illustrator
  407. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_2e.pdf", height = 15, width = 15)
  408. # %% [markdown]
  409. # # Figure 3
  410. # %% [markdown]
  411. # ## A. Dot plot, key genes
  412. # %%
  413. format_species <- function(data, species_name) {
  414. expr <- data[genes, ]
  415. expr$gene <- rownames(expr)
  416. expr <- reshape2::melt(expr, id.vars = "gene")
  417. colnames(expr) <- c("gene", "celltype", "cellex_score")
  418. expr$species <- species_name
  419. return(expr)
  420. }
  421. # Define genes of interest
  422. genes <- c("Calcr", "Ramp3", "Glp1r")
  423. # Format data for each species
  424. mouse_data <- format_species(cellex_mouse, "mouse")
  425. rat_data <- format_species(cellex_rat, "rat")
  426. macaque_data <- format_species(cellex_macaque, "macaque")
  427. species_data <- rbind(mouse_data, rat_data, macaque_data) %>% filter(gene %in% genes)
  428. # Adjust factor levels to ensure the desired plotting order
  429. species_data$species <- factor(species_data$species, levels = c("macaque", "rat", "mouse")) # Put mouse last for the plot
  430. species_data$celltype <- factor(species_data$celltype, levels = levels(factor(neurons$cell.type)))
  431. species_data$gene <- factor(species_data$gene, levels = rev(genes))
  432. # Adjust the color column with correct factor levels
  433. species_data$color <- factor(paste0(species_data$species, round(species_data$cellex_score * 100, 0)),
  434. levels = c(paste0("mouse", seq(0, 100)),
  435. paste0("rat", seq(0, 100)),
  436. paste0("macaque", seq(0, 100))))
  437. # Define color palettes for each species with named colors
  438. palettes <- unlist(list(
  439. mouse = setNames(colorRampPalette(c("#C2BEC0", "#8AC1B6", "#46D3B8"))(101), paste0("mouse", 0:100)),
  440. rat = setNames(colorRampPalette(c("#C2BEC0", "#819bb7", "#546577"))(101), paste0("rat", 0:100)),
  441. macaque = setNames(colorRampPalette(c("#C2BEC0", "#F0A572", "#E8682F"))(101), paste0("macaque", 0:100))
  442. ))
  443. names(palettes) <- sub("^[^.]+\\.", "", names(palettes))
  444. # Create heatmaps for each gene
  445. for (i in seq_along(genes)) {
  446. gene <- genes[i]
  447. heatmap_plot <- ggplot(
  448. subset(species_data[species_data$gene == gene & species_data$celltype %in% c("Glu4.2", "Glu8.0", "Glu8.2"),]),
  449. aes(x = celltype, y = species, color = color)
  450. ) +
  451. geom_tile(size = 2, color = "white", fill = "grey99") +
  452. geom_point(size = 2.5, stroke = 0) +
  453. scale_color_manual(values = palettes) +
  454. scale_x_discrete(expand = c(0, 0)) +
  455. xlab(NULL) + ylab(gene) +
  456. theme(
  457. axis.text.y = element_blank(),
  458. axis.title.y = element_text(size = 6, face = "bold.italic", angle = 360, vjust = 0.5),
  459. legend.position = "none",
  460. axis.line = element_line(colour = "black", linewidth = 0.4),
  461. axis.ticks = element_blank(),
  462. plot.margin = unit(c(0, 0.1, 0.1, 0.1), "cm"),
  463. panel.spacing = unit(0.1, "cm"),
  464. panel.background = element_blank(),
  465. panel.grid.minor = element_blank(),
  466. axis.text.x = element_blank()
  467. )
  468. assign(paste0("heatmap_plot", i), heatmap_plot)
  469. }
  470. # %%
  471. draw_gradient <- function(palette, species_name) {
  472. species_palette <- palette[grep(species_name, names(palette))] # Extract only the relevant portion of the palette for the species
  473. species_title <- paste(str_to_title(species_name), "ESμ")
  474. ggplot(data.frame("x" = seq_along(species_palette),
  475. color = factor(names(species_palette), levels = names(species_palette))),
  476. aes(x = x, y = 1, fill = color)) +
  477. geom_tile(show.legend = FALSE) +
  478. scale_fill_manual(values = species_palette) +
  479. theme_void() +
  480. ggtitle(species_title) +
  481. scale_x_continuous(breaks = seq(0, 100, by = 25),
  482. labels = seq(0, 1, by = 0.25)) +
  483. theme(axis.text.x = element_text(size = 6, face = "bold"),
  484. plot.title = element_text(hjust = 0.5, size = 6, face = "bold"))
  485. }
  486. labels_plot <- ggplot(data.frame(celltype = factor(c("Glu4.2", "Glu8.0", "Glu8.2"))),
  487. aes(x = celltype, y = 1)) +
  488. geom_blank() +
  489. theme_void() +
  490. theme(axis.text.x = element_text(size = 10, face = "bold", angle = 45, hjust = 1),
  491. axis.ticks.x = element_line()) +
  492. xlab("")
  493. legend_plot <- plot_grid(
  494. draw_gradient(palettes, "mouse"),
  495. draw_gradient(palettes, "rat"),
  496. draw_gradient(palettes, "macaque"),
  497. ncol = 1
  498. )
  499. p <- plot_grid(legend_plot,
  500. heatmap_plot1, heatmap_plot2, heatmap_plot3,
  501. labels_plot,
  502. align = "v",
  503. ncol = 1)
  504. p # Fix x-axis label in illustrator
  505. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_3a.pdf", height = 8, width = 10)
  506. # %% [markdown]
  507. # ## C. Bregma levels
  508. # %%
  509. [email hidden] %>% filter(prediction.score.cell.type > 0.6) %>% select(c("section_index", "run_index", "predicted.cell.type")) %>%
  510. filter(!predicted.cell.type %in% c("Astrocytes", "Oligodendrocytes","OPCs","Microglia","Endothelial_cells","Ependymal_cells","Tanycytes","Pericytes","VLMCs", "Choroid_plexus_cells")) %>%
  511. filter(!(section_index %in% c("D1","D2") & run_index == "spatial1")) %>%
  512. group_by(run_index, section_index, predicted.cell.type) %>%
  513. summarize(counts = n()) -> cell_type_by_section
  514. cell_type_by_section <- cell_type_by_section %>% ungroup() %>% group_by(predicted.cell.type) %>% mutate(fraction = counts / sum(counts))
  515. roi_bregma$Run <- paste0("spatial", roi_bregma$Run - 1)
  516. roi_bregma <- roi_bregma %>% select(Run, Well, Bregma)
  517. roi_bregma[roi_bregma$Run == "spatial2" & roi_bregma$Well == "C2", "Bregma"] <- -13.71
  518. cell_type_by_section <- cell_type_by_section %>% left_join(roi_bregma, by = c("run_index" = "Run", "section_index" = "Well"))
  519. cell_type_by_section$predicted.cell.type <- gsub("^(\\w+)_(\\d{1,2})_(\\d)$", "\\1\\2.\\3", cell_type_by_section$predicted.cell.type)
  520. cell_type_by_section$Bregma <- gsub(",", ".", cell_type_by_section$Bregma)
  521. # %%
  522. p <- cell_type_by_section %>% filter(predicted.cell.type %in% c("Glu4.2", "Glu8.0", "Glu8.2")) %>% ggplot() + geom_col(aes(x = fraction, y = factor(Bregma,levels = sort(unique(cell_type_by_section$Bregma), decreasing = TRUE)))) +
  523. facet_grid(~predicted.cell.type) +
  524. scale_x_continuous(breaks = c(0,1), limits = c(0,1)) +
  525. theme(strip.text.x = element_text(angle = 90))
  526. p
  527. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_3c.pdf", height = 5, width = 4)
  528. # %% [markdown]
  529. # ## E. Sankey diagram
  530. # %%
  531. ludwig2021_neurons <- subset(ludwig2021_neurons, cells = which(colnames(ludwig2021_neurons) %in% gsub("_[0-9]+$", "", colnames(neurons)[which(neurons$year == "2021")])))
  532. neurons$ludwig.celltype <- NA
  533. neurons$ludwig.celltype[na.omit(match(colnames(ludwig2021_neurons), gsub("_[0-9]+$", "", colnames(neurons))))] <- ludwig2021_neurons$cell.subtype2
  534. celltype_data <- subset(
  535. data.frame(
  536. celltype = neurons$cell.type[neurons$dataset == "mouse.2021"],
  537. ludwig_celltype = neurons$ludwig.celltype[neurons$dataset == "mouse.2021"]),
  538. !is.na(ludwig_celltype))
  539. for (ludwig_type in unique(celltype_data$ludwig_celltype)) {
  540. freq_table <- as.data.frame(table(celltype_data$celltype[celltype_data$ludwig_celltype == ludwig_type])) # Check how many of present dataset map to current Ludwig2021 cell type
  541. unmappable <- freq_table$Var1[freq_table$Freq < (sum(freq_table$Freq) * 0.2)] # If less than 20% of a given cell type map to Ludwig2021, it will be considered unmapped
  542. celltype_data$ludwig_celltype[celltype_data$celltype %in% unmappable & celltype_data$ludwig_celltype == ludwig_type] <- "unmapped"
  543. }
  544. # %%
  545. counts <- celltype_data %>% # Aggregate counts for plotting
  546. group_by(celltype, ludwig_celltype) %>%
  547. summarise(Freq = n(), .groups = 'drop') %>%
  548. filter(celltype %in% c("Glu4.2", "Glu8.0", "Glu8.2")) # Only interested in subset
  549. p <- ggplot(counts, aes(axis1 = celltype, axis2 = ludwig_celltype, y = Freq)) +
  550. geom_alluvium(aes(fill = celltype), width = 1/12) +
  551. geom_stratum(width = 1/12, fill = "grey", color = "black") +
  552. geom_text(
  553. stat = "stratum",
  554. aes(label = after_stat(stratum),
  555. x = after_stat(x) + 0.1 * ifelse(after_stat(x) == 1, -1, 1),
  556. hjust = ifelse(after_stat(x) == 1, 1, 0)),
  557. size = 3) +
  558. scale_x_discrete(limits = c("Present", "Ludwig et. al 2021")) +
  559. theme_minimal() +
  560. theme(legend.position = "none",
  561. axis.title = element_blank(),
  562. axis.text.x = element_text(size = 12),
  563. axis.text = element_blank(),
  564. axis.ticks = element_blank(),
  565. panel.grid = element_blank(),
  566. plot.title = element_blank())
  567. p # Undecided on colors, will adjust later in illustrator
  568. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_3e.pdf", height = 5, width = 5)
  569. # %% [markdown]
  570. # # Figure 4
  571. # %% [markdown]
  572. # ## A. SCENIC analysis
  573. # %%
  574. identify_da_regulons <- function(seurat_obj, celltypes, group1, group2) {
  575. lmer_results <- foreach(celltype = celltypes) %dopar% {
  576. seurat_obj_sub <- subset(seurat_obj, cell.type == celltype & treatment %in% c(group2, group1))
  577. sample_ids <- unique(seurat_obj_sub$hash.ID)
  578. regulons <- rownames(seurat_obj_sub@assays$regulon)[
  579. which(apply(seurat_obj_sub@assays$regulon@data, 1, function(x) {
  580. sum(x != 0) >= (ncol(seurat_obj_sub) * 0.20)
  581. }))
  582. ]
  583. regulons <- "Fos..." # Placeholder to be replaced by actual regulons selection criteria
  584. # Prepare data for modeling
  585. data <- cbind.data.frame(
  586. treatment = as.factor(seurat_obj_sub$treatment),
  587. sample = as.factor(seurat_obj_sub$hash.ID),
  588. pool = as.factor(seurat_obj_sub$pool),
  589. run = as.factor(seurat_obj_sub$run),
  590. calcr = seurat_obj_sub@assays$SCT@data["Calcr",],
  591. treatment = factor(seurat_obj_sub$treatment, levels = c(group2, group1))
  592. )
  593. results <- data.frame(matrix(NA, nrow = length(regulons), ncol = 4))
  594. colnames(results) <- c("regulon", "beta", "SE", "p_value")
  595. for (i in seq_along(regulons)) {
  596. set.seed(i)
  597. data$regulon <- seurat_obj_sub@assays$regulon@data[regulons[i],]
  598. # Linear mixed effects model
  599. model <- lmer(
  600. regulon ~ treatment + (1 | sample),
  601. data = data,
  602. REML = TRUE
  603. )
  604. emm <- lsmeans(model, pairwise ~ treatment, adjust = NULL)
  605. emm_summary <- summary(emm$contrasts)
  606. results$regulon[i] <- regulons[i]
  607. contrast <- paste0("(", group1, ") - (", group2, ")")
  608. results$p_value[i] <- emm_summary$p.value[which(emm_summary$contrast == contrast)]
  609. results$SE[i] <- emm_summary$SE[which(emm_summary$contrast == contrast)]
  610. results$beta[i] <- emm_summary$estimate[which(emm_summary$contrast == contrast)]
  611. }
  612. results$celltype <- celltype
  613. results
  614. }
  615. names(lmer_results) <- celltypes
  616. return(lmer_results)
  617. }
  618. process_SCENIC_data <- function(species) {
  619. # Set parameters based on species
  620. if (species == "mouse") {
  621. seurat_obj <- mouse_neurons
  622. comparison_acute <- "Cagrilintide vs. vehicle (4 hours)"
  623. comparison_chronic <- "Cagrilintide vs. weight-matched control (8 days)"
  624. } else if (species == "rat") {
  625. seurat_obj <- rat_neurons
  626. comparison_acute <- "Cagrilintide vs. vehicle control (4 hours)"
  627. comparison_chronic <- "Cagrilintide vs. weight-matched control (8 days)"
  628. }
  629. # Process acute data
  630. lmer_acute <- identify_da_regulons(
  631. seurat_obj = seurat_obj,
  632. celltypes = c("Glu4.2", "Glu8.0", "Glu8.2"),
  633. group1 = "A8-A",
  634. group2 = "V-A"
  635. )
  636. lmer_acute <- dplyr::bind_rows(lmer_acute, .id = "celltype")
  637. lmer_acute$p_adj <- p.adjust(lmer_acute$p_value, method = "fdr")
  638. lmer_acute$comparison <- comparison_acute
  639. # Process chronic data
  640. lmer_chronic <- identify_da_regulons(
  641. seurat_obj = seurat_obj,
  642. celltypes = c("Glu4.2", "Glu8.0", "Glu8.2"),
  643. group1 = "A8-C",
  644. group2 = "WM-C"
  645. )
  646. lmer_chronic <- dplyr::bind_rows(lmer_chronic, .id = "celltype")
  647. lmer_chronic$p_adj <- p.adjust(lmer_chronic$p_value, method = "fdr")
  648. lmer_chronic$comparison <- comparison_chronic
  649. # Combine acute and chronic data
  650. lmer_combined <- rbind(lmer_acute, lmer_chronic)
  651. lmer_combined$celltype <- factor(
  652. lmer_combined$celltype,
  653. levels = c("Glu4.2", "Glu8.0", "Glu8.2")
  654. )
  655. # Add significance symbols
  656. lmer_combined$p_symbol <- ""
  657. lmer_combined$p_symbol[lmer_combined$p_adj < 0.05] <- "*"
  658. lmer_combined$p_symbol[lmer_combined$p_adj < 0.01] <- "**"
  659. lmer_combined$p_symbol[lmer_combined$p_adj < 0.001] <- "***"
  660. # Add species column
  661. lmer_combined$species <- species
  662. # Extract time point from comparison
  663. lmer_combined$time_point <- ifelse(grepl("4 hours", lmer_combined$comparison), "4 hours", "8 days")
  664. return(lmer_combined)
  665. }
  666. mouse_neurons <- subset(neurons, dataset == "mouse.2023")
  667. mouse_neurons[["regulon"]] <- CreateAssayObject(data = t(as.matrix(mouse.AUC)))
  668. rat_neurons <- subset(neurons, species == "rat")
  669. rat_neurons[["regulon"]] <- CreateAssayObject(data = t(as.matrix(rat.AUC)))
  670. lmer_mouse <- process_SCENIC_data("mouse")
  671. lmer_rat <- process_SCENIC_data("rat")
  672. lmer_combined <- rbind(lmer_mouse, lmer_rat) %>%
  673. mutate(
  674. x = as.numeric(celltype),
  675. x = ifelse(species == "mouse", x - 0.2, x + 0.2) # Small offset for subsequent plotting
  676. )
  677. # %%
  678. signif_data <- lmer_combined %>% # Adding significance symbols to plot
  679. filter(p_symbol != "") %>%
  680. mutate(y = beta + SE + 0.001)
  681. p <- ggplot(lmer_combined, aes(x = celltype, y = beta, color = species, group = species)) +
  682. geom_point(size = 1, position = position_dodge(width = 0.6)) +
  683. geom_errorbar(
  684. aes(ymin = beta - SE, ymax = beta + SE),
  685. width = 0.1,
  686. position = position_dodge(width = 0.6)
  687. ) +
  688. geom_hline(yintercept = 0, linetype = "dashed", color = "black", size = 0.1) +
  689. theme_pubr(base_size = 6, base_family = "sans") +
  690. theme(
  691. axis.text.x = element_text(angle = 45, hjust = 1),
  692. legend.position = "top", # Place legend above the plot
  693. plot.margin = unit(c(0, 0, 0, 0), "cm"),
  694. legend.title = element_blank()
  695. ) +
  696. ylab(expression(bold(beta))) +
  697. xlab("") +
  698. scale_color_manual(values = c("#75C0AF", "#546577"), labels = c("Mouse", "Rat")) +
  699. facet_wrap(~time_point) +
  700. geom_text(
  701. data = signif_data,
  702. aes(label = p_symbol, y = y),
  703. size = 2,
  704. fontface = "bold",
  705. color = "black",
  706. position = position_dodge(width = 0.6)
  707. )
  708. p
  709. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_4a.pdf", height = 4, width = 5)
  710. # %% [markdown]
  711. # ## C. DEGs treatment vs. control after 4 hours and 8 days (bulk)
  712. # %%
  713. DEGs <- data.frame(
  714. treatment = factor(c("Acute", "Subchronic", "Acute", "Subchronic")),
  715. species = factor(c("mouse", "mouse", "rat", "rat"), levels = c("mouse", "rat")),
  716. sign_genes = c( # Summarizing all significant genes across species and conditions
  717. sum(DEGs.bulk.mouse.acute$padj < 0.05, na.rm = TRUE),
  718. sum(DEGs.bulk.mouse.chronic$padj < 0.05, na.rm = TRUE),
  719. sum(DEGs.bulk.rat.acute$padj < 0.05, na.rm = TRUE),
  720. sum(DEGs.bulk.rat.chronic$padj < 0.05, na.rm = TRUE)
  721. )
  722. )
  723. # %%
  724. p <- ggplot(DEGs, aes(x = treatment, y = sign_genes, fill = species)) +
  725. geom_bar(stat = "identity", width = 0.6, position = "dodge", size = 0.3, color = "black") +
  726. theme_pubr(base_size = 6, base_family = "sans") +
  727. theme(
  728. legend.position = "top",
  729. text = element_text(face = "bold"),
  730. axis.text.x = element_text(angle = 45, hjust = 1),
  731. axis.line = element_line(color = "black", size = 0.3),
  732. axis.ticks = element_line(color = "black", size = 0.3),
  733. legend.key.height = unit(1, "mm"),
  734. legend.key.width = unit(2, "mm"),
  735. legend.title = element_blank()
  736. ) +
  737. labs(y = "Differentially expressed genes") +
  738. scale_fill_manual(values = c("#75C0AF", "#546577"), labels = c("Mouse", "Rat")) +
  739. scale_x_discrete(labels = c("4 hours", "8 days"))
  740. p
  741. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_4c.pdf", height = 4, width = 5)
  742. # %% [markdown]
  743. # ## D. Accuracy of regularized logistic regression classifiers
  744. # %%
  745. glmnet_data <- glmnet.data %>%
  746. mutate(
  747. accuracy = accuracy * 100,
  748. species = gsub(".acute|.chronic", "", rownames(.)),
  749. study = gsub("mouse.|rat.", "", rownames(.))
  750. )
  751. # %%
  752. p <- ggplot(glmnet_data, aes(x = study, y = accuracy, fill = species)) +
  753. geom_bar(stat = "identity", width = 0.5, position = "dodge", size = 0.3, color = "black") +
  754. theme_classic(base_size = 6, base_family = "sans") +
  755. theme(
  756. legend.position = "top",
  757. text = element_text(face = "bold"),
  758. axis.text.x = element_text(angle = 45, hjust = 1),
  759. axis.line = element_line(color = "black", size = 0.3),
  760. axis.ticks = element_line(color = "black", size = 0.3),
  761. legend.key.height = unit(1, "mm"),
  762. legend.key.width = unit(2, "mm"),
  763. legend.title = element_blank()
  764. ) +
  765. labs(y = "Accuracy (%)") +
  766. scale_fill_manual(values = c("#75C0AF", "#546577"), labels = c("Mouse", "Rat")) +
  767. scale_x_discrete(labels = c("4 hours", "8 days")) +
  768. scale_y_continuous(limits = c(0, 100), breaks = seq(0, 100, 25))
  769. p
  770. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_4d.pdf", height = 4, width = 5)
  771. # %% [markdown]
  772. # ## E. DEGs treatment vs. control after 4 hours and 8 days (single-cell)
  773. # %%
  774. get_DEGs_data <- function(celltypes, DEGs_sc_rat, DEGs_sc_mouse, comparison_label) {
  775. DEGs_data <- data.frame(celltype = celltypes, mouse = NA, rat = NA, stringsAsFactors = FALSE)
  776. for (i in seq_along(celltypes)) {
  777. celltype <- celltypes[i]
  778. # Rat DEGs
  779. if (!is.null(DEGs_sc_rat[[celltype]])) {
  780. DEGs_data$rat[i] <- sum(DEGs_sc_rat[[celltype]]$padj < 0.05, na.rm = TRUE)
  781. }
  782. # Mouse DEGs
  783. if (!is.null(DEGs_sc_mouse[[celltype]])) {
  784. DEGs_data$mouse[i] <- sum(DEGs_sc_mouse[[celltype]]$padj < 0.05, na.rm = TRUE)
  785. }
  786. }
  787. DEGs_data$comparison <- comparison_label
  788. return(DEGs_data)
  789. }
  790. celltypes <- c("Glu4.2", "Glu8.0", "Glu8.2")
  791. # Acute DEGs
  792. DEGs_sc_acute <- get_DEGs_data(
  793. celltypes,
  794. DEGs.sc.rat.acute,
  795. DEGs.sc.mouse.acute,
  796. "Cagrilintide vs. vehicle control (4 hours)"
  797. )
  798. # Chronic DEGs
  799. DEGs_sc_chronic <- get_DEGs_data(
  800. celltypes,
  801. DEGs.sc.rat.chronic,
  802. DEGs.sc.mouse.chronic,
  803. "Cagrilintide vs. weight-matched control (8 days)"
  804. )
  805. # Combine and format
  806. DEGs <- rbind(DEGs_sc_acute, DEGs_sc_chronic)
  807. DEGs_melt <- melt(DEGs, id.vars = c("celltype", "comparison"))
  808. colnames(DEGs_melt) <- c("celltype", "comparison", "species", "genes")
  809. DEGs_melt$genes[is.na(DEGs_melt$genes)] <- 0 # One instance where DEGs is NA, need to account for that
  810. # %%
  811. p <- ggplot(DEGs_melt, aes(x = celltype, y = genes, fill = species)) +
  812. geom_bar(position = position_dodge(), stat = "identity", color = "black", width = 0.8) +
  813. facet_wrap(~comparison, ncol = 1) +
  814. theme_pubr(base_size = 6, base_family = "sans") +
  815. theme(
  816. axis.text.x = element_text(angle = 45, hjust = 1, face = "bold"),
  817. axis.text.y = element_text(face = "bold"),
  818. axis.title = element_text(face = "bold"),
  819. legend.title = element_blank(),
  820. strip.text = element_text(face = "bold")
  821. ) +
  822. xlab(NULL) +
  823. ylab("Differentially Expressed Genes") +
  824. scale_y_continuous(limits = c(0, max(15, max(DEGs_melt$genes, na.rm = TRUE)))) +
  825. scale_fill_manual(values = c("#75C0AF", "#546577"))
  826. p
  827. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_4e.pdf", width = 5, height = 4)
  828. # %% [markdown]
  829. # ## F. Volcano (bulk)
  830. # %%
  831. volcano <- DEGs.bulk.rat.chronic %>%
  832. filter(!is.na(padj)) %>%
  833. mutate(
  834. label = if_else(padj == min(padj), rownames(.), ""), # Adds label to the smallest adj. pvalue for subsequent plotting
  835. col = case_when(
  836. padj <= 0.05 & abs(log2FoldChange) >= 0.5 ~ 1, # Setting color levels based on numeric value
  837. padj <= 0.05 & abs(log2FoldChange) < 0.5 ~ 2,
  838. padj > 0.05 & abs(log2FoldChange) >= 0.5 ~ 3,
  839. TRUE ~ 4
  840. )
  841. ) %>%
  842. select(log2FoldChange, padj, col, label)
  843. # %%
  844. p <- ggplot(volcano, aes(y = -log10(padj), x = log2FoldChange,
  845. fill = factor(col), label = label)) +
  846. geom_point(shape = 21, size = 3, alpha = 1, stroke = 0.2) +
  847. geom_hline(yintercept = -log10(0.05), linetype = "dashed") +
  848. geom_vline(xintercept = c(-0.5, 0.5), linetype = "dashed") +
  849. geom_text_repel(fontface = "bold.italic", size = 2, max.overlaps = 20) +
  850. theme_pubr(base_size = 6, base_family = "sans") +
  851. theme(legend.position = "none",
  852. axis.title = element_text(face = "bold"),
  853. axis.text = element_text(face = "bold"),
  854. axis.line = element_line(size = 0.4),
  855. plot.margin = margin(0, 0, 0, 0, "cm")) +
  856. xlab(expression(bold(Log[2] * " fold-change"))) +
  857. ylab(expression(bold(-log[10] * "(" * italic(P) * ")"))) +
  858. scale_fill_manual(values = c("1" = "#95567D", "2" = "#F9D4EC",
  859. "3" = "grey70", "4" = "grey90")) +
  860. xlim(c(-2.5, 2.5)) # Cuts off 9 points in total, but these points are not interesting
  861. p
  862. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_4f.pdf", width = 5, height = 4)
  863. # %% [markdown]
  864. # ## G. Prlh feature plot (single-cell)
  865. # %%
  866. rat_neurons <- subset(neurons, dataset == "rat.2023")
  867. DefaultAssay(rat_neurons) <- "RNA"
  868. rat_prlh_cells <- WhichCells(rat_neurons, expression = Prlh > 5)
  869. umap_embed_rat_neurons <- neurons@reductions$[email hidden] %>%
  870. as.data.frame() %>%
  871. mutate(
  872. species = neurons$species,
  873. celltype = neurons$cell.type,
  874. Prlh_expressed = rownames(.) %in% rat_prlh_cells, # Label cells where Prlh is expressed
  875. color_group = ifelse(Prlh_expressed, as.character(species), "Not expressed"),
  876. color_group = factor(color_group, levels = c("rat", "Not expressed"))
  877. ) %>%
  878. sample_frac(1) %>% # Shuffle rows
  879. arrange(desc(color_group == "Not expressed")) # Ensure background is plotted first, so the other points are positioned top of them, making them visible
  880. label <- umap_embed_rat_neurons %>%
  881. group_by(celltype) %>%
  882. summarize(
  883. x = median(umap_1),
  884. y = median(umap_2)
  885. )
  886. # %%
  887. p <- ggplot(umap_embed_rat_neurons, aes(x = umap_1, y = umap_2, color = color_group)) +
  888. geom_point_rast(size = 0.1, alpha = 0.5) +
  889. theme_pubr(base_size = 6, base_family = "sans") +
  890. theme(
  891. axis.line = element_line(colour = "black", size = 0.4),
  892. panel.grid = element_blank(),
  893. panel.border = element_blank(),
  894. panel.background = element_blank(),
  895. legend.position = "right",
  896. axis.title = element_text(face = "bold"),
  897. axis.text = element_text(face = "bold")
  898. ) +
  899. scale_color_manual(values = c("rat" = "#546577", "Not expressed" = "grey"), name = "Expression")
  900. p
  901. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_4g_prlh.pdf", width = 5, height = 4)
  902. # %%
  903. rat_neurons <- subset(neurons, dataset == "rat.2023")
  904. DefaultAssay(rat_neurons) <- "RNA"
  905. rat_calcr_cells <- WhichCells(rat_neurons, expression = Calcr > 5)
  906. umap_embed_rat_neurons <- neurons@reductions$[email hidden] %>%
  907. as.data.frame() %>%
  908. mutate(
  909. species = neurons$species,
  910. celltype = neurons$cell.type,
  911. Calcr_expressed = rownames(.) %in% rat_calcr_cells, # Label cells where Calcr is expressed
  912. color_group = ifelse(Calcr_expressed, as.character(species), "Not expressed"),
  913. color_group = factor(color_group, levels = c("rat", "Not expressed"))
  914. ) %>%
  915. sample_frac(1) %>% # Shuffle rows
  916. arrange(desc(color_group == "Not expressed")) # Ensure background is plotted first, so the other points are positioned top of them, making them visible
  917. label <- umap_embed_rat_neurons %>%
  918. group_by(celltype) %>%
  919. summarize(
  920. x = median(umap_1),
  921. y = median(umap_2)
  922. )
  923. # %%
  924. p <- ggplot(umap_embed_rat_neurons, aes(x = umap_1, y = umap_2, color = color_group)) +
  925. geom_point_rast(size = 0.1, alpha = 0.5) +
  926. theme_pubr(base_size = 6, base_family = "sans") +
  927. theme(
  928. axis.line = element_line(colour = "black", size = 0.4),
  929. panel.grid = element_blank(),
  930. panel.border = element_blank(),
  931. panel.background = element_blank(),
  932. legend.position = "right",
  933. axis.title = element_text(face = "bold"),
  934. axis.text = element_text(face = "bold")
  935. ) +
  936. scale_color_manual(values = c("rat" = "#546577", "Not expressed" = "grey"), name = "Expression")
  937. p
  938. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_4g_calcr.pdf", width = 5, height = 4)
  939. # %% [markdown]
  940. # ## H. Prlh expression in rat (single-cell pseudobulk)
  941. # %%
  942. neurons_sub <- neurons %>%
  943. subset(
  944. species == "rat" &
  945. cell.type == "Glu8.2" &
  946. treatment %in% c("A8-A", "A8-C", "V-A", "WM-C")
  947. ) %>%
  948. subset(
  949. hash.ID %in% names(which(table(hash.ID) >= 5)) # Remove samples with fewer than 5 cells
  950. )
  951. DefaultAssay(neurons_sub) <- "RNA"
  952. genes <- rownames(neurons_sub)[rowMeans(neurons_sub@assays$RNA@counts != 0) >= 0.1] # Get genes expressed in at least 10% of the cells
  953. samples <- unique(neurons_sub$hash.ID)
  954. # Prepare pseudobulk data
  955. pseudo_data <- data.frame(matrix(NA, nrow = length(genes), ncol = length(samples)))
  956. rownames(pseudo_data) <- genes
  957. colnames(pseudo_data) <- samples
  958. pseudo_meta <- data.frame(
  959. sample = samples,
  960. treatment = NA,
  961. stringsAsFactors = FALSE
  962. )
  963. # Compute pseudobulk data using a for-loop
  964. for (j in seq_along(samples)) {
  965. sample_cells <- which(neurons_sub$hash.ID == samples[j])
  966. pseudo_data[, j] <- rowMeans(neurons_sub@assays$RNA@counts[genes, sample_cells, drop = FALSE])
  967. pseudo_meta$treatment[j] <- unique(neurons_sub$treatment[sample_cells])
  968. }
  969. # Prepare expression data
  970. expr_data <- cbind.data.frame(t(pseudo_data), treatment = factor(pseudo_meta$treatment))
  971. expr_data <- melt(expr_data, id.vars = "treatment")
  972. colnames(expr_data) <- c("treatment", "gene", "expr")
  973. expr_data$time <- "4 hours"
  974. expr_data$time[grep("-C", expr_data$treatment)] <- "8 days"
  975. expr_data$drug <- "Vehicle"
  976. expr_data$drug[grep("A8-", expr_data$treatment)] <- "Cagrilintide"
  977. # Prepare DGE results
  978. prlh_expr <- subset(expr_data, gene == "Prlh")
  979. prlh_expr$drug <- factor(prlh_expr$drug, levels = c("Vehicle", "Cagrilintide"))
  980. p_values <- c(
  981. DEGs.sc.rat.acute[["Glu8.2"]]["Prlh", "pvalue"],
  982. DEGs.sc.rat.chronic[["Glu8.2"]]["Prlh", "pvalue"]
  983. )
  984. p_values <- round(p_values, 3)
  985. p_symbol <- ifelse(p_values <= 0.05, p_values, "NS")
  986. # %%
  987. p <- ggplot(prlh_expr, aes(x = time, y = expr, fill = drug)) +
  988. geom_boxplot(
  989. outlier.shape = NA,
  990. position = position_dodge(0.6),
  991. width = 0.5
  992. ) +
  993. theme_pubr(legend = "top") +
  994. theme(
  995. axis.text.x = element_text(angle = 45, hjust = 1, size = 6, face = "bold"),
  996. axis.text.y = element_text(size = 6, face = "bold"),
  997. axis.title.y = element_text(size = 6, face = "bold"),
  998. plot.title = element_text(hjust = 0.5, size = 8, face = "bold.italic"),
  999. legend.text = element_text(size = 6, face = "bold"),
  1000. legend.title = element_blank()
  1001. ) +
  1002. scale_fill_manual(values = c("#AFC3E4", "#95567D")) + # Unsure about colors, may change later in illustrator
  1003. labs(
  1004. y = "Pseudobulk expression",
  1005. x = "",
  1006. title = "Prlh"
  1007. ) +
  1008. coord_cartesian(ylim = c(0, 15)) +
  1009. geom_signif(
  1010. y_position = c(9, 14),
  1011. xmin = c(0.85, 1.85),
  1012. xmax = c(1.15, 2.15),
  1013. annotation = p_symbol,
  1014. tip_length = 0.01,
  1015. textsize = 2,
  1016. size = 0.2
  1017. )
  1018. p
  1019. # ggsave("/projects/perslab/people/jmg776/projects/DVC/figures/2025/figure_4h.pdf", width = 5, height = 4)

figures_full.ipynb at commit 8603e6a, no license · at the source

Overview

Authors: Mette Q. Ludwig1,2, Bernd Coester1, Desiree Gordian3, Shad Hassan1, Abigail J. Tomlinson3, Mouhamadoul Habib Toure3, Oliver P. Christensen1,4, Greta Lommi5, Anja Moltke-Prehn1, Jenny M. Brown1, Dylan M. Belmont-Rausch1, Sarah Bau2, Cagri Bodur3, Anika Gowda3, Iris Wu3, Stace Kernodle3, Victoria Dong3, Mike Ayensu-Mensah3, Paul V. Sabatini3,6, Jae Hoon Shin3
and 11 other authorsMelissa Kirigiti7, Kristoffer L. Egerod1, Christelle Le Foll5, Sofia Lundh2, Marina Kjærgaard Gerstenberg2, Thomas A. Lutz5,8, Paul Kievit7, Anna Secher2, Kirsten Raun2, Martin G. Myers Jr3, Tune H. Pers1,4
  1. Novo Nordisk Foundation Center for Basic Metabolic Research, University of Copenhagen,Copenhagen, Denmark
  2. Research and Development, Novo Nordisk,Måløv, Denmark
  3. Departments of Internal Medicine, University of Michigan and Molecular and Integrative Physiology,Ann Arbor, MI USA
  4. Pioneer Centre for SMARTbiomed, University of Copenhagen,Copenhagen, Denmark
  5. Institute of Veterinary Physiology, Vetsuisse Faculty University of Zurich,Zurich, Switzerland
  6. Present Address: Department of Medicine, McGill University,Montreal, Quebec Canada
  7. Oregon National Primate Research Center, Oregon Health & Science University,Beaverton, OR USA
  8. One Health Institute, University of Zurich,Zurich, Switzerland
Institutions: University of Copenhagen (Denmark); Novo Nordisk (Denmark) (Denmark); University of Michigan (United States); University of Zurich (Switzerland); McGill University (Canada); Oregon Health & Science University (United States)
Journal: Nature metabolism, volume 8, issue 6, pages 1350-1367
Dates: received 15 November 2024; accepted 27 April 2026; published online 8 June 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s42255-026-01539-3 · PMID 42260119 · PMCID PMC13303089 · OpenAlex W7163898574
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), mouse (organism), rat (organism), non-human primate (organism), methods / tools (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Machine learning, Evoked potentials, Connectivity, fMRI & imaging
Keywords: Feeding behaviour, Endocrine system and metabolic diseases, Metabolism, Obesity, Neuroscience
MeSH: Energy Metabolism*, Neurons*, Vagus Nerve*, Animals, Humans, Male, Mice, Prolactin-Releasing Hormone, Rats, Semaglutide, Species Specificity (* major topic)
Topic: Regulation of Appetite and Obesity (Endocrine and Autonomic Systems, Neuroscience), according to OpenAlex
Funding: NIH (R01 DK124238, P51 OD011092, R01 DK141495); Lundbeck Foundation (R190-2014-3904); Novo Nordisk Fonden (NNF18CC0034900); Danmarks Frie Forskningsfond (8045-00091B)
Citations: cited by 6 papers (Europe PMC); 33 references in the paper
Research resources: RRID:AB_2247211

Abstract

Amylin receptor agonists such as cagrilintide represent emerging obesity therapies. To understand mediators of cagrilintide action, we generated a transcriptomics atlas of over 530,000 cells comprising 80 neuronal cell populations across rat, mouse and macaque caudal brainstem, with spatial profiling to map distribution in the rat dorsal vagal complex (DVC). Here we show that cagrilintide regulates two conserved Calcr-expressing DVC neuronal populations. While acute cagrilintide treatment alters gene expression in area postrema Calcr/Ramp3 neurons, chemogenetic activation in rats fails to affect long-term food intake and body weight. In contrast, long-term cagrilintide treatment in rats upregulates prolactin-releasing hormone (Prlh) expression in nucleus of the solitary tract Calcr/Prlh cells that are conserved across rodents, macaques and humans. Knocking down DVC Prlh abrogates the effects of cagrilintide but not semaglutide in rats. Our study provides a cross-species spatially resolved atlas of DVC cell populations and defines Calcr/Prlh neurons as mediators of amylin receptor agonist action.

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.

perslab/ludwig-coester-Gordian-2025

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 8603e6a7add7d050dbd10032f4a9aea777a28581, 27 October 2025
Languages: Jupyter (16)
Size: 17 files, 16 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, 16 notebooks
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Seurat (14 files), ggplot2 (12 files), tidyverse (8 files), ggpubr (7 files), DESeq2 (3 files), reshape2 (3 files), emmeans (2 files), lme4 (2 files), pheatmap (2 files), cowplot (1 file), edgeR (1 file), glmnet (1 file), reticulate (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
17 files

Code availability

All code used to analyse the data is available at https://github.com/perslab/ludwig-coester-gordian-2025/.

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

Datasets cited

Data availability

snRNA-seq (E-MTAB-16929 (http://www.ebi.ac.uk/arrayexpress/experiments/E-MTAB-16929/)) and bulk RNA-seq (E-MTAB-16870 (http://www.ebi.ac.uk/arrayexpress/experiments/E-MTAB-16870/)) data are available in EMBL-EBI BioStudies. Spatial transcriptomics data are available at Zenodo via 10.5281/zenodo.19368177 (ref. 33). Rat spatial data are available at https://cbmr-rmpp.shinyapps.io/spatial_dvc_app/. Source data are provided with this paper.

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

Versions

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

Version 2, 28 September 2026

  • Publisher: n/a → Nature Portfolio

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 31 authors, 5 keywords, 11 MeSH terms, 4 funders, 31 references, 1 RRID.

Cite

This paper

Ludwig, M. Q., Coester, B., Gordian, D., Hassan, S., Tomlinson, A. J., Toure, M. H., Christensen, O. P., Lommi, G., Moltke-Prehn, A., Brown, J. M., Belmont-Rausch, D. M., Bau, S., Bodur, C., Gowda, A., Wu, I., Kernodle, S., Dong, V., Ayensu-Mensah, M., Sabatini, P. V., . . . Pers, T. H. (2026). A cross-species atlas of the dorsal vagal complex reveals neural mediators of the effects of cagrilintide on energy balance. Nature metabolism, 8(6), 1350-1367. https://doi.org/10.1038/s42255-026-01539-3

BibTeX

@article{ludwig2026cross,
author = {Ludwig, Mette Q. and Coester, Bernd and Gordian, Desiree and Hassan, Shad and Tomlinson, Abigail J. and Toure, Mouhamadoul Habib and Christensen, Oliver P. and Lommi, Greta and Moltke-Prehn, Anja and Brown, Jenny M. and Belmont-Rausch, Dylan M. and Bau, Sarah and Bodur, Cagri and Gowda, Anika and Wu, Iris and Kernodle, Stace and Dong, Victoria and Ayensu-Mensah, Mike and Sabatini, Paul V. and Shin, Jae Hoon and Kirigiti, Melissa and Egerod, Kristoffer L. and Le Foll, Christelle and Lundh, Sofia and Gerstenberg, Marina Kjærgaard and Lutz, Thomas A. and Kievit, Paul and Secher, Anna and Raun, Kirsten and Myers, Martin G. and Pers, Tune H.},
title = {{A cross-species atlas of the dorsal vagal complex reveals neural mediators of the effects of cagrilintide on energy balance}},
journal = {Nature metabolism},
year = {2026},
month = jun,
volume = {8},
number = {6},
pages = {1350--1367},
publisher = {Nature Portfolio},
issn = {2522-5812},
doi = {10.1038/s42255-026-01539-3},
url = {https://doi.org/10.1038/s42255-026-01539-3},
pmid = {42260119},
pmcid = {PMC13303089}
}

RIS

TY - JOUR
AU - Ludwig, Mette Q.
AU - Coester, Bernd
AU - Gordian, Desiree
AU - Hassan, Shad
AU - Tomlinson, Abigail J.
AU - Toure, Mouhamadoul Habib
AU - Christensen, Oliver P.
AU - Lommi, Greta
AU - Moltke-Prehn, Anja
AU - Brown, Jenny M.
AU - Belmont-Rausch, Dylan M.
AU - Bau, Sarah
AU - Bodur, Cagri
AU - Gowda, Anika
AU - Wu, Iris
AU - Kernodle, Stace
AU - Dong, Victoria
AU - Ayensu-Mensah, Mike
AU - Sabatini, Paul V.
AU - Shin, Jae Hoon
AU - Kirigiti, Melissa
AU - Egerod, Kristoffer L.
AU - Le Foll, Christelle
AU - Lundh, Sofia
AU - Gerstenberg, Marina Kjærgaard
AU - Lutz, Thomas A.
AU - Kievit, Paul
AU - Secher, Anna
AU - Raun, Kirsten
AU - Myers, Martin G.
AU - Pers, Tune H.
TI - A cross-species atlas of the dorsal vagal complex reveals neural mediators of the effects of cagrilintide on energy balance
T2 - Nature metabolism
J2 - Nat Metab
PY - 2026
DA - 2026/06/08
VL - 8
IS - 6
SP - 1350
EP - 1367
SN - 2522-5812
PB - Nature Portfolio
DO - 10.1038/s42255-026-01539-3
UR - https://doi.org/10.1038/s42255-026-01539-3
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42255-026-01539-3",
"type": "article-journal",
"title": "A cross-species atlas of the dorsal vagal complex reveals neural mediators of the effects of cagrilintide on energy balance",
"container-title": "Nature metabolism",
"author": [
{
"family": "Ludwig",
"given": "Mette Q."
},
{
"family": "Coester",
"given": "Bernd"
},
{
"family": "Gordian",
"given": "Desiree"
},
{
"family": "Hassan",
"given": "Shad"
},
{
"family": "Tomlinson",
"given": "Abigail J."
},
{
"family": "Toure",
"given": "Mouhamadoul Habib"
},
{
"family": "Christensen",
"given": "Oliver P."
},
{
"family": "Lommi",
"given": "Greta"
},
{
"family": "Moltke-Prehn",
"given": "Anja"
},
{
"family": "Brown",
"given": "Jenny M."
},
{
"family": "Belmont-Rausch",
"given": "Dylan M."
},
{
"family": "Bau",
"given": "Sarah"
},
{
"family": "Bodur",
"given": "Cagri"
},
{
"family": "Gowda",
"given": "Anika"
},
{
"family": "Wu",
"given": "Iris"
},
{
"family": "Kernodle",
"given": "Stace"
},
{
"family": "Dong",
"given": "Victoria"
},
{
"family": "Ayensu-Mensah",
"given": "Mike"
},
{
"family": "Sabatini",
"given": "Paul V."
},
{
"family": "Shin",
"given": "Jae Hoon"
},
{
"family": "Kirigiti",
"given": "Melissa"
},
{
"family": "Egerod",
"given": "Kristoffer L."
},
{
"family": "Le Foll",
"given": "Christelle"
},
{
"family": "Lundh",
"given": "Sofia"
},
{
"family": "Gerstenberg",
"given": "Marina Kjærgaard"
},
{
"family": "Lutz",
"given": "Thomas A."
},
{
"family": "Kievit",
"given": "Paul"
},
{
"family": "Secher",
"given": "Anna"
},
{
"family": "Raun",
"given": "Kirsten"
},
{
"family": "Myers",
"given": "Martin G."
},
{
"family": "Pers",
"given": "Tune H."
}
],
"container-title-short": "Nat Metab",
"volume": "8",
"issue": "6",
"page": "1350-1367",
"DOI": "10.1038/s42255-026-01539-3",
"PMID": "42260119",
"PMCID": "PMC13303089",
"ISSN": "2522-5812",
"publisher": "Nature Portfolio",
"URL": "https://doi.org/10.1038/s42255-026-01539-3",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
8
]
]
}
}

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.1038/s41467-026-74038-4 [code]
Semaglutide attenuates neuroinflammation in male mice.
Journal: Nature communications
In common: DESeq2, emmeans, Seurat, 6 other tools, mouse, 5 references, 5 authors
[2] doi:10.1016/j.celrep.2026.117073 [code]
Single-cell epigenomics uncovers heterochromatin instability and transcription factor dysfunction during mouse brain aging.
Journal: Cell reports
In common: edgeR, reticulate, DESeq2, 8 other tools, mouse, 2 references
[3] doi:10.1038/s41598-026-51501-2 [code]
Expanding canonical cortical cell type markers in the era of single-cell transcriptomics.
Journal: Scientific reports
In common: glmnet, DESeq2, pheatmap, 6 other tools, 5 references
[4] doi:10.1038/s41586-026-10629-x [code]
Whole-genome duplication shaped cell-type evolution in the vertebrate brain.
Journal: Nature
In common: reticulate, DESeq2, pheatmap, 7 other tools, mouse, 3 references
[5] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: glmnet, edgeR, reticulate, 8 other tools, mouse
[6] doi:10.1038/s41593-026-02367-0 [code]
A reproducible three-dimensional model of human brain tissue to investigate physiological and disease-associated microglia phenotypes.
Journal: Nature neuroscience
In common: edgeR, reticulate, DESeq2, 7 other tools, 3 references
[7] doi:10.1038/s41467-026-76675-1 [code]
Long-read proteogenomic atlas of human neuronal differentiation reveals isoform diversity informing neurodevelopmental risk mechanisms.
Journal: Nature communications
In common: edgeR, reticulate, DESeq2, 8 other tools, 1 reference
[8] 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: edgeR, reticulate, DESeq2, 8 other tools, 1 reference
[9] 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: edgeR, DESeq2, pheatmap, 7 other tools, 3 references
[10] doi:10.1038/s41467-026-73305-8 [code]
Comparative analysis of the cellular landscape in mammalian striatum.
Journal: Nature communications
In common: edgeR, DESeq2, pheatmap, 6 other tools, non-human primate, mouse, 2 references

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.