Semaglutide attenuates neuroinflammation in male mice.
15 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 20 matches
- [1] § Methods › Single-nucleus RNA-seq data analysis › Analysis of SEA-AD snRNA-seq dataset ↔ analysis/integration_with_published_atlases.Rmd, lines 283 to 306 · score 0.80 · dimensionality reduction, SCTransform, FindNeighbors, FindClusters, RunPCA, Seurat · block
oscr:b:3VW05X53PA1BK-M· Report a mismatch - [2] § Methods › Bulk RNA-seq data analysis › WGCNA ↔ analysis/WGCNA.Rmd, lines 107 to 120 · score 0.78 · deep split, cutreeDynamic, pam stage, WGCNA, modules, clustering · block
oscr:b:R17WQBFYEGBT1-Y· Report a mismatch - [3] § Methods › Single-nucleus RNA-seq data analysis › DVC cell population annotation ↔ analysis/clustering_DVC_neurons.Rmd, lines 147 to 184 · score 0.71 · Slc17a6, Slc32a1, neuronal populations, Gad2, Tph2, Chat · block
oscr:b:P7AYM24Z7W0RC-D· Report a mismatch - [4] § Methods › Single-nucleus RNA-seq data analysis › Initial processing ↔ analysis/integration_with_published_atlases.Rmd, lines 283 to 306 · score 0.69 · SCTransform, FindNeighbors, FindClusters, RunPCA, Seurat, clustering · block
oscr:b:3VW05X53PA1BK-M· Report a mismatch - [5] § Methods › Single-nucleus RNA-seq data analysis › Comparing treatment response between the hippocampus and DVC ↔ analysis/figure5.Rmd, lines 355 to 443 · score 0.65 · fold changes, semaglutide induced, LPS induced, Spearman, correlate, rho · block
oscr:b:MQW8V4FBYM6XA-M· Report a mismatch - [6] § Methods › Single-nucleus RNA-seq data analysis › Cell-cell communication analysis ↔ analysis/figure3.Rmd, lines 158 to 192 · score 0.65 · log fold change, CellChat, ligand, veh PBS, sema LPS, veh LPS · block
oscr:b:7TXH85QD6C350-P· Report a mismatch - [7] § Methods › Bulk RNA-seq data analysis › WGCNA ↔ analysis/figure1.Rmd, lines 308 to 342 · score 0.63 · likelihood ratio, logistic regression, eigengene, Modules, treatment · block
oscr:b:88YBACEX4P64S-V· Report a mismatch - [8] § Methods › Statistics and reproducibility › Statistical analyses ↔ analysis/figure1.Rmd, lines 308 to 342 · score 0.62 · likelihood ratio, logistic regression, module, FDR, matrices, treatment · block
oscr:b:88YBACEX4P64S-V· Report a mismatch - [9] § Results › Semaglutide attenuates LPS-induced neuroinflammation ↔ analysis/figure1.Rmd, lines 201 to 247 · score 0.59 · fractional area, entire brain, sema PBS, veh PBS, sema LPS, veh LPS · block
oscr:b:PHQ8YN6MWKBT0-E· Report a mismatch - [10] § Methods › Single-nucleus RNA-seq data analysis › Hippocampal cell population annotation ↔ analysis/integration_with_published_atlases.Rmd, lines 237 to 266 · score 0.57 · TransferData, endothelial cells, pericytes2, Bcas1, oligodendrocytes, VLMCs · block
oscr:b:RYA9ZEQAJTGH1-H· Report a mismatch - [11] § Methods › Single-nucleus RNA-seq data analysis › Milo analysis ↔ analysis/figure2.Rmd, lines 151 to 269 · score 0.56 · testNhoods, abundant neighborhoods, veh PBS, sema LPS, veh LPS, Mixed · block
oscr:b:46XGYB0NCQFBV-6· Report a mismatch - [12] § Methods › Single-nucleus RNA-seq data analysis › Milo analysis ↔ analysis/figure5.Rmd, lines 105 to 223 · score 0.56 · testNhoods, abundant neighborhoods, veh PBS, sema LPS, veh LPS, Mixed · block
oscr:b:GBQNDV46HETET-D· Report a mismatch - [13] § Methods › Bulk RNA-seq data analysis › Functional gene set enrichment analysis (WGCNA) ↔ analysis/figure1.Rmd, lines 466 to 510 · score 0.55 · KEGG, gost, kME, intersecting, query, Module · block
oscr:b:GWCDEEHP2YXP9-I· Report a mismatch - [14] § Results › Semaglutide activates neurons in the dorsal vagal complex that express inflammation-attenuating neurotransmitters ↔ analysis/merge_DVC_glia_and_neurons.Rmd, lines 15 to 54 · score 0.55 · cholinergic neurons, ependymal cells, tanycytes, DVC · block
oscr:b:Y9GYPYNEKG4JN-A· Report a mismatch - [15] § Methods › Single-nucleus RNA-seq data analysis › Hippocampal cell population annotation ↔ analysis/integration_with_published_atlases.Rmd, lines 156 to 203 · score 0.54 · silhouette score, FindClusters, optimal, resolution, clustering, hippocampal · block
oscr:b:2FHZPFCX0F73K-B· Report a mismatch - [16] § Methods › Single-nucleus RNA-seq data analysis › Integration with AD genome-wide association study data ↔ analysis/figure4.Rmd, lines 30 to 43 · score 0.53 · AD GWAS, scDRS, enrichment, score, cell · block
oscr:b:ZS4CMVFT0PW8G-N· Report a mismatch - [17] § Results › Semaglutide activates neurons in the dorsal vagal complex that express inflammation-attenuating neurotransmitters ↔ analysis/figure5.Rmd, lines 105 to 223 · score 0.52 · abundant neighborhoods, DA neighborhoods, cell population, neurons, Sema, PBS · block
oscr:b:GBQNDV46HETET-D· Report a mismatch - [18] § Methods › Statistics and reproducibility › Statistical analyses ↔ analysis/SCENIC_analysis.Rmd, lines 325 to 424 · score 0.51 · linear mixed, regression, SCENIC, lsmeans, regulon, FDR · block
oscr:b:4YV0R3X84ZXGN-K· Report a mismatch - [19] § Methods › Single-nucleus RNA-seq data analysis › Integration with AD genome-wide association study data ↔ analysis/figure4.Rmd, lines 30 to 43 · score 0.51 · enrichment score, scDRS, AD, cell · block
oscr:b:ZS4CMVFT0PW8G-N· Report a mismatch - [20] § Results › Semaglutide-induced attenuation of neuroinflammation is accompanied by changes in microglia, endothelial cells and pericytes ↔ analysis/figure5.Rmd, lines 355 to 443 · score 0.50 · log2 fold changes, semaglutide induced, Spearman, correlation, genes, treatment · block
oscr:b:MQW8V4FBYM6XA-M· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R Markdown · 451 lines · 19 KB · no license · 4 matches
- ---
- title: "integration_with_published_atlases"
- author: "Mette Ludwig"
- date: "2022-10-14"
- output: workflowr::wflow_html
- editor_options:
- chunk_output_type: inline
- ---
- ```{r}
- library(anndata)
- library(Seurat)
- library(ggplot2)
- library(ggpubr)
- library(cluster)
- library(parallelDist)
- library(doMC)
- library(Seurat)
- source("/projects/mludwig/Ludwig-2021/Ludwig-2021/code/compute_sil.R")
- ```
- # Load Seurat objects
- ```{r}
- hippo.glia <- readRDS("/projects/mludwig/hippo_GLP1/output/Seurat_objs/hippo_glia_Seurat_obj.rds")
- hippo.neurons <- readRDS("/projects/mludwig/hippo_GLP1/output/Seurat_objs/hippo_neurons_Seurat_obj.rds")
- ```
- # Preprocess Duan et al. (Neuron, 2018)
- ```{r}
- # Load Seurat obj
- duan <- readRDS("/projects/mludwig/hippo_GLP1/output/Seurat_objs_publications/Duan_Seurat_obj.rds")
- # Normalize
- duan <- SCTransform(duan, verbose = FALSE)
- # Define major cell type identities
- duan$cell.type <- "Unknown"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(21))] <- "Pericytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(23))] <- "Pericytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(17))] <- "VLMCs"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(13))] <- "Microglia"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(3))] <- "Endothelial_cells"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(5))] <- "Endothelial_cells"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(0))] <- "Astrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(24))] <- "Astrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(18))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(1))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(4))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(8))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(10))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(11))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(20))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(14))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(15))] <- "Astrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(7))] <- "Oligodendrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(22))] <- "Oligodendrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(29))] <- "Oligodendrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(19))] <- "Oligodendrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(6))] <- "Oligodendrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(25))] <- "Oligodendrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(9))] <- "Oligodendrocytes"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(26))] <- "Ependymal_cells"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(2))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(12))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(16))] <- "Neurons"
- duan$cell.type[which(duan$RNA_snn_res.1 %in% c(28))] <- "Neurons"
- # Define minor cell type identities
- duan$cell.type2 <- "Unknown"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(21))] <- "Pericytes1"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(23))] <- "Pericytes2"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(17))] <- "VLMCs"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(13))] <- "Microglia"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(3))] <- "Endothelial_cells1"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(5))] <- "Endothelial_cells2"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(0))] <- "Astrocytes1"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(24))] <- "Astrocytes2"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(18))] <- "Spock1_neurons"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(1))] <- "Nrgn_neurons1"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(4))] <- "Nrgn_neurons2"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(8))] <- "Nrgn_neurons3"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(10))] <- "Nrgn_neurons4"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(11))] <- "Nrgn_neurons5"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(20))] <- "Nrgn_neurons6"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(14))] <- "Reln_neurons"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(15))] <- "Tfap2c_cells"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(7))] <- "Mobp_oligodendrocytes1"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(22))] <- "Mobp_oligodendrocytes2"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(29))] <- "Mobp_oligodendrocytes3"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(19))] <- "Bcas1_oligodendrocytes"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(6))] <- "C1ql1_oligodendrocytes1"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(25))] <- "C1ql1_oligodendrocytes2"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(9))] <- "Enpp2_oligodendrocytes"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(26))] <- "Ependymal_cells"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(2))] <- "Unknown_neurons1"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(12))] <- "Unknown_neurons2"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(16))] <- "Unknown_neurons3"
- duan$cell.type2[which(duan$RNA_snn_res.1 %in% c(28))] <- "Unknown_neurons4"
- # Save
- # saveRDS(duan, file = "/projects/mludwig/hippo_GLP1/output/Seurat_objs_publications/Duan_Seurat_obj_labels.rds")
- ```
- # Transfer labels from Duan atlas
- ```{r}
- duan <- readRDS("/projects/mludwig/hippo_GLP1/output/Seurat_objs_publications/Duan_Seurat_obj_labels.rds")
- # Subset Duan atlas to glial cells
- duan.glia <- subset(duan, cell.type != "Neurons")
- # Normalize
- duan.glia <- SCTransform(duan.glia, verbose = F, method = "qpoisson")
- # Run dimensionality reduction
- duan.glia <- RunPCA(duan.glia, verbose = F)
- ElbowPlot(duan.glia, ndims = 50)
- duan.glia <- RunUMAP(duan.glia, dims = 1:30, n.neighbors = 50)
- # Transfer labels to hippocampal glial atlas
- anchors <- FindTransferAnchors(reference = duan.glia, query = hippo.glia,
- dims = 1:30, normalization.method = "SCT")
- predictions <- TransferData(anchorset = anchors, refdata = duan.glia$cell.type2,
- dims = 1:30)
- hippo.glia$duan.predictions <- predictions$predicted.id
- hippo.glia$duan.score <- predictions$prediction.score.max
- DimPlot(hippo.glia, group.by = "duan.predictions", label = T)
- ```
- # Label cell type identities
- ```{r}
- hippo.glia$cell.type <- ""
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.0.1 %in% c(0, 2, 8))] <- "Mobp_oligodendrocytes"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.0.1 %in% c(1))] <- "Astrocytes"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.0.1 %in% c(3))] <- "Microglia"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.0.1 == 7)] <- "Unknown_glia"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.1 == 21)] <- "Pericytes2"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.1 == 25)] <- "VLMCs"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.0.1 %in% c(5) &
- hippo.glia$SCT_snn_res.1 == "18")] <- "Pericytes1"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.0.1 %in% c(5) &
- hippo.glia$SCT_snn_res.1 != "18")] <- "Endothelial_cells"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.0.1 %in% c(4) &
- hippo.glia$SCT_snn_res.1 != 19)] <- "C1ql1_oligodendrocytes"
- hippo.glia$cell.type[which(hippo.glia$SCT_snn_res.0.1 %in% c(4) &
- hippo.glia$SCT_snn_res.1 == 19)] <- "Bcas1_oligodendrocytes"
- hippo.glia$cell.type <- factor(hippo.glia$cell.type, levels = c("Astrocytes", "Bcas1_oligodendrocytes",
- "C1ql1_oligodendrocytes", "Endothelial_cells",
- "Microglia", "Mobp_oligodendrocytes",
- "Pericytes1", "Pericytes2",
- "Unknown_glia", "VLMCs"))
- ```
- # Compute silhouette scores to identify optimal clustering resolution
- ```{r}
- resolution <- seq(0.1, 1, 0.1)
- pc <- hippo.glia@reductions$[email hidden][, 1:30]
- distance <- parDist(pc, method = "euclidean")
- cluster.id <- as.character([email hidden][, "cell.type"])
- silhouette.cell.type <- compute.sil(x = cluster.id, dist = distance)
- print(mean(silhouette.cell.tyoe))
- stability <- data.frame(matrix(NA, nrow = ncol(hippo.glia), ncol = length(resolution)))
- colnames(stability) <- resolution
- rownames(stability) <- colnames(hippo.glia)
- for(i in 1:length(resolution)) {
- print(i)
- hippo.glia <- FindClusters(object = hippo.glia, resolution = resolution[i],
- verbose = F)
- cluster.id <- as.numeric(as.character([email hidden][, paste0("SCT_snn_res.", resolution[i])]))
- silhouette <- compute.sil(x = cluster.id, dist = distance)
- print(mean(silhouette))
- stability[,i] <- silhouette
- }
- stability <- cbind(cell.type = silhouette.cell.type, stability)
- # Save
- # saveRDS(stability, file = "/projects/mludwig/hippo_GLP1/output/Seurat_objs/silhouette_glia.rds")
- stability <- readRDS("/projects/mludwig/hippo_GLP1/output/Seurat_objs/silhouette_glia.rds")
- # Plot
- stability$cell <- rownames(stability)
- stability.melt <- reshape2::melt(stability, id.vars = "cell")
- stability.melt$variable <- gsub("cell.type", "Duan labels", stability.melt$variable)
- ggplot(stability.melt) +
- geom_boxplot(aes(x = variable, y = value), outlier.shape = NA, fill = "darkcyan") +
- theme_pubr() +
- theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
- xlab("Resolution") + ylab("Silhouette score") +
- scale_y_continuous(limits = c(-1, 1), breaks = seq(-1, 1, 0.25))
- ```
- # Preprocess Posner et al. (Current Opinion in Immunology, 2022)
- ```{r}
- # # Load anndata obj
- # posner.h5ad <- read_h5ad("/scratch/mlf210/CNSbordercellatlas_Dec22.h5ad")
- #
- # # Convert anndata obj to Seurat obj
- # posner.counts <- rbind(as.matrix(posner.h5ad[["X"]][1:65000, ]),
- # as.matrix(posner.h5ad[["X"]][65001:nrow(posner.h5ad[["X"]]), ]))
- #
- # posner.counts <- t(posner.counts)
- #
- # posner <- CreateSeuratObject(posner.counts, meta.data = posner.h5ad[["obs"]])
- # rm(posner.counts)
- # rm(posner.h5ad)
- #
- # # Normalize
- # posner <- SCTransform(posner, verbose = F, method = "qpoisson")
- #
- # # Run dimensionality reduction
- # posner <- RunPCA(posner, verbose = F)
- # ElbowPlot(posner, ndims = 50)
- # posner <- RunUMAP(posner, dims = 1:30, n.neighbors = 50)
- #
- # # Run clustering
- # posner <- FindNeighbors(posner, dims = 1:30, k.param = 50)
- # posner <- FindClusters(posner, resolution = 0.1, verbose = F)
- #
- # # Save
- # saveRDS(posner, file = "projects/mludwig/hippo_GLP1/output/Seurat_objs_publications/Posner_Seurat_obj.rds")
- ```
- # Transfer labels from Posner atlas
- ```{r}
- posner <- readRDS("/projects/mludwig/hippo_GLP1/output/Seurat_objs_publications/Posner_Seurat_obj.rds")
- anchors <- FindTransferAnchors(reference = posner, query = hippo.glia,
- dims = 1:30, normalization.method = "SCT")
- predictions <- TransferData(anchorset = anchors, refdata = posner$celltype,
- dims = 1:30)
- saveRDS(predictions, file = "/projects/mludwig/hippo_GLP1/output/Seurat_objs/Posner_predictions.rds")
- hippo.glia$posner.predictions <- predictions$predicted.id
- hippo.glia$posner.score <- predictions$prediction.score.max
- DimPlot(hippo.glia, group.by = "posner.predictions", label = T)
- # Update the labels
- hippo.glia$cell.type2 <- hippo.glia$cell.type
- hippo.glia$cell.type2 <- gsub("Unknown_glia", "Neutrophils", hippo.glia$cell.type2)
- hippo.glia$cell.type2 <- factor(hippo.glia$cell.type2, levels = c("Astrocytes",
- "Bcas1_oligodendrocytes",
- "C1ql1_oligodendrocytes",
- "Endothelial_cells",
- "Microglia",
- "Mobp_oligodendrocytes",
- "Neutrophils",
- "Pericytes1",
- "Pericytes2",
- "VLMCs"))
- ```
- # Save
- ```{r}
- [email hidden] <- [email hidden][, c("nCount_RNA", "nFeature_RNA",
- "nCount_SCT", "nFeature_SCT",
- "percent.mt", "pool", "hash.ID",
- "treatment", "drug", "time", "run",
- "SCT_snn_res.0.1", "SCT_snn_res.1",
- "duan.predictions", "duan.score",
- "cell.type", "cell.type2")]
- # saveRDS(hippo.glia,
- # file = "/projects/mludwig/hippo_GLP1/output/Seurat_objs/hippo_glia_Seurat_obj_labels.rds")
- ```
- # Preprocess Smart-seq data Yao et al. (Cell, 2021)
- ```{r}
- # Load Seurat object
- load("/projects/mludwig/hippo_GLP1/data/2021_Yao/Seurat.ss.rda")
- # Subset yao atlas to hippocampal neurons
- yao <- subset(ss.seurat, region_label == "HIP" & class_label != "Non-Neuronal")
- # Normalize
- yao <- SCTransform(yao, verbose = F, method = "qpoisson")
- # Run dimensionality reduction
- yao <- RunPCA(yao, verbose = F)
- ElbowPlot(yao, ndims = 50)
- yao <- RunUMAP(yao, dims = 1:30, n.neighbors = 50)
- # Run clustering
- yao <- FindNeighbors(yao, dims = 1:30, k.param = 50)
- yao <- FindClusters(yao, resolution = 0.1, verbose = F)
- DimPlot(yao, group.by = "class_label")
- DimPlot(yao, group.by = "subclass_label", label = T)
- DimPlot(yao, group.by = "region_label", label = T)
- ```
- # Transfer labels from Yao data
- ```{r}
- anchors <- FindTransferAnchors(reference = yao, query = hippo.neurons,
- dims = 1:30, normalization.method = "SCT")
- predictions <- TransferData(anchorset = anchors, refdata = yao$subclass_label,
- dims = 1:30)
- hippo.neurons$yao.predictions <- predictions$predicted.id
- hippo.neurons$yao.score <- predictions$predicted.id
- DimPlot(hippo.neurons, group.by = "yao.predictions", label = T)
- DimPlot(hippo.neurons, group.by = "cell.type", label = T)
- DimPlot(hippo.neurons, group.by = "SCT_snn_res.1", label = T)
- ```
- # Label cell type identities
- ```{r}
- hippo.neurons$cell.type <- paste0("Neurons", hippo.neurons$SCT_snn_res.0.1)
- hippo.neurons$cell.type <- factor(hippo.neurons$cell.type,
- levels = paste0("Neurons", sort(unique(hippo.neurons$SCT_snn_res.0.1))))
- hippo.neurons$cell.type2 <- ""
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 == 17)] <- "Vip"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 == 15)] <- "Sncg"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 %in% c(14, 22))] <- "Lamp5"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 == 12)] <- "Sst"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 == 16)] <- "Pvalb"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 %in% c(0, 1, 2, 4, 5,
- 9, 13, 21, 24))] <- "DG"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 %in% c(3, 6, 8))] <- "CA1"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 %in% c(7, 11, 18, 23))] <- "CA3"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 == 19)] <- "SUB"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 == 20)] <- "ProS"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.1 == 10)] <- "CA2/CA3"
- DimPlot(hippo.neurons, group.by = "cell.type2", label = T)
- ```
- # Compute silhouette scores to identify optimal clustering resolution
- ```{r}
- resolution <- seq(0.1, 1, 0.1)
- pc <- hippo.neurons@reductions$[email hidden][, 1:30]
- distance <- parDist(pc, method = "euclidean")
- cluster.id <- as.character([email hidden][, "cell.type2"])
- silhouette.cell.type <- compute.sil(x = cluster.id, dist = distance)
- stability <- data.frame(matrix(NA, nrow = ncol(hippo.neurons), ncol = length(resolution)))
- colnames(stability) <- resolution
- rownames(stability) <- colnames(hippo.neurons)
- for(i in 1:length(resolution)) {
- print(i)
- hippo.neurons <- FindClusters(object = hippo.neurons, resolution = resolution[i],
- verbose = F)
- cluster.id <- as.numeric(as.character([email hidden][, paste0("SCT_snn_res.", resolution[i])]))
- silhouette <- compute.sil(x = cluster.id, dist = distance)
- print(mean(silhouette))
- stability[,i] <- silhouette
- }
- stability <- cbind(cell.type = silhouette.cell.type, stability)
- # saveRDS(stability, file = "/projects/mludwig/hippo_GLP1/output/Seurat_objs/silhouette_neurons.rds")
- stability <- readRDS("/projects/mludwig/hippo_GLP1/output/Seurat_objs/silhouette_neurons.rds")
- stability$cell <- rownames(stability)
- stability.melt <- reshape2::melt(stability, id.vars = "cell")
- stability.melt$variable <- gsub("cell.type", "Yao labels", stability.melt$variable)
- ggplot(stability.melt) +
- geom_boxplot(aes(x = variable, y = value), outlier.shape = NA, fill = "darkcyan") +
- theme_pubr() +
- theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
- xlab("Resolution") + ylab("Silhouette score") +
- scale_y_continuous(limits = c(-1, 1), breaks = seq(-1, 1, 0.25))
- ```
- # Update cell type labels at optimal clustering resolution
- ```{r}
- cellex <- read.csv(gzfile("/projects/mludwig/hippo_GLP1/output/cellex/output/hippo_neurons_mm.esmu.csv.gz"), row.names = 1)
- neuron.markers <- data.frame(matrix(NA, nrow = length(levels(hippo.neurons$cell.type)), ncol = 4))
- colnames(neuron.markers) <- c("cell.type", "marker1", "marker2", "marker3")
- neuron.markers$cell.type <- levels(hippo.neurons$cell.type)
- # Plot marker gene expression
- for (i in 1:nrow(neuron.markers)) {
- neuron.cell.type <- neuron.markers$cell.type[i]
- idx <- which(hippo.neurons$cell.type == neuron.cell.type)
- genes.ordered <- rownames(cellex)[order(cellex[, neuron.cell.type], decreasing = T)]
- genes.ordered <- genes.ordered[!(grepl("^Gm[0-9]|^ENSMUS|[0-9]Rik$", genes.ordered))]
- z <- 2
- for (j in genes.ordered) {
- nonzero.counts <- which(hippo.neurons@assays$RNA@counts[j, idx] != 0)
- nonzero.pct <- length(nonzero.counts) / length(idx) * 100
- if (nonzero.pct >= 25) {
- neuron.markers[i, z] <- j
- z <- z + 1
- }
- if (z > 4) {
- break
- }
- }
- }
- neuron.markers
- hippo.neurons$cell.type2 <- ""
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 0)] <- "Glis3_DG_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 1)] <- "Satb2_CA1_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 2)] <- "Cd109_CA3_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 3)] <- "Crhbp_MGE_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 4)] <- "Lhx1_CA2/CA3_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 5)] <- "Htr3a_CGE_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 6)] <- "Igfbpl1_DG_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 7)] <- "Sfta3-ps_CGE_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 8)] <- "Csf2rb2_CA3_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 9)] <- "Abca12_Subiculum_neurons"
- hippo.neurons$cell.type2[which(hippo.neurons$SCT_snn_res.0.1 == 10)] <- "Nts_Prosubiculum_neurons"
- ```
- # Save
- ```{r}
- # saveRDS(hippo.neurons,
- # file = "/projects/mludwig/hippo_GLP1/output/Seurat_objs/hippo_neurons_Seurat_obj_labels.rds")
- ```
integration_with_published_atlases.Rmd at commit 4901ebb, no license · at the source
Overview
- Novo Nordisk Foundation Center for Basic Metabolic Research, University of Copenhagen, Copenhagen, Denmark
- Novo Nordisk Foundation Center for Genomic Mechanisms of Disease, Broad Institute of MIT and Harvard, Cambridge, MA USA
- Research and Development, Novo Nordisk A/S, Måløv, Denmark
- Research and Development, Novo Nordisk A/S, Søborg, Denmark
- Gubra A/S, Hørsholm, Denmark
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 20 matches between paragraphs and lines of code.
perslab/Rausch-Ludwig-Bentsen-2026
4901ebba0474462ba663b6b1f81635f99886ffb3, 8 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
38 files
- analysis/
SCENIC_analysis.Rmd , R, 460 lines, 1 match - analysis/
WGCNA.Rmd , R, 174 lines, 1 match - analysis/
about.Rmd , R, 10 lines - analysis/
cacoa_prop_diff.Rmd , R, 238 lines - analysis/
clustering_DVC_glia.Rmd , R, 177 lines - analysis/
clustering_DVC_neurons.R , R, 200 lines, 1 matchmd - analysis/
clustering_hippo_glia.Rm , R, 105 linesd - analysis/
clustering_hippo_neurons , R, 111 lines.Rmd - analysis/
compute_DE_genes.Rmd , R, 127 lines - analysis/
figure1.Rmd , R, 551 lines, 4 matches - analysis/
figure2.Rmd , R, 421 lines, 1 match - analysis/
figure3.Rmd , R, 572 lines, 1 match - analysis/
figure4.Rmd , R, 762 lines, 2 matches - analysis/
figure5.Rmd , R, 580 lines, 4 matches - analysis/
figure6.Rmd , R, 572 lines - analysis/
index.Rmd , R, 11 lines - analysis/
initial_clustering_DVC.R , R, 206 linesmd - analysis/
initial_clustering_hippo , R, 131 lines.Rmd - analysis/
integration_with_Neff_si , R, 120 linesgnatures.Rmd - analysis/
integration_with_publish , R, 451 lines, 4 matchesed_atlases.Rmd - analysis/
license.Rmd , R, 21 lines - analysis/
merge_DVC_glia_and_neuro , R, 55 lines, 1 matchns.Rmd - analysis/
merge_hippo_glia_and_neu , R, 81 linesrons.Rmd - analysis/
milo_analysis_glia.Rmd , R, 563 lines - analysis/
milo_analysis_neurons.Rm , R, 529 linesd - analysis/
prepare_cellex_input.Rmd , R, 142 lines - analysis/
process_TAP-seq.Rmd , R, 74 lines - analysis/
running_pyscenic.Rmd , R, 211 lines - analysis/
scDRS_analysis.Rmd , R, 99 lines - analysis/
sfigure1.Rmd , R, 900 lines - analysis/
sfigure2.Rmd , R, 361 lines - analysis/
sfigure3.Rmd , R, 270 lines - analysis/
sfigure4.Rmd , R, 227 lines - analysis/
sfigure5.Rmd , R, 227 lines - analysis/
sfigure6.Rmd , R, 271 lines - analysis/
sfigure7.Rmd , R, 767 lines - code/
flag_clusters.R , R, 85 lines - README.md, Text, 24 lines
Availability statements
The paper has a code availability statement and a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing them here; in short, from what the harvester recognized in them:
- they point to the authors' code: perslab/
Rausch-Ludwig-Bentsen-20 26
Read them in the paper: doi.org/10.1038/s41467-026-74038-4.
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;
- 37 scripts, each with its path and the digest of its content;
- 20 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
- arrayexpress:E-MTAB-1682
9 , at ArrayExpress; found in “Data availability”
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:
- it points to a dataset: ArrayExpress E-MTAB-16829
- it points to the authors' code: perslab/
Rausch-Ludwig-Bentsen-20 26
Read it in the paper: doi.org/10.1038/s41467-026-74038-4.
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, 20 authors, 3 keywords, 19 MeSH terms, 5 funders, 76 references.
Cite
This paper
Belmont-Rausch, D. M., Ludwig, M. Q., Bentsen, M. A., Hansen, S. N., Secher, A., Holst, D., Moreno, J., Das, V., Egerod, K. L., Bjerregaard, A.-M., Niss, K., Bau, S., Pyke, C., Dalgaard, K., Merkestein, M., Wichern, F., Hansen, C. T., Polex-Wolf, J., Knudsen, L. B., & Pers, T. H. (2026). Semaglutide attenuates neuroinflammation in male mice. Nature communications, 17(1), 7328. https://
BibTeX
@article{belmontrausch20
author = {Belmont-Rausch, Dylan M and Ludwig, Mette Q and Bentsen, Marie A and Hansen, Stine N and Secher, Anna and Holst, Dorte and Moreno, Jaime and Das, Vivek and Egerod, Kristoffer L and Bjerregaard, Anne-Mette and Niss, Kristoffer and Bau, Sarah and Pyke, Charles and Dalgaard, Kevin and Merkestein, Myrte and Wichern, Franziska and Hansen, Charlotte Thim and Polex-Wolf, Joseph and Knudsen, Lotte Bjerre and Pers, Tune H},
title = {{Semaglutide attenuates neuroinflammation in male mice}},
journal = {Nature communications},
year = {2026},
month = jun,
volume = {17},
number = {1},
pages = {7328},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42265098},
pmcid = {PMC13402617}
}
RIS
TY - JOUR
AU - Belmont-Rausch, Dylan M
AU - Ludwig, Mette Q
AU - Bentsen, Marie A
AU - Hansen, Stine N
AU - Secher, Anna
AU - Holst, Dorte
AU - Moreno, Jaime
AU - Das, Vivek
AU - Egerod, Kristoffer L
AU - Bjerregaard, Anne-Mette
AU - Niss, Kristoffer
AU - Bau, Sarah
AU - Pyke, Charles
AU - Dalgaard, Kevin
AU - Merkestein, Myrte
AU - Wichern, Franziska
AU - Hansen, Charlotte Thim
AU - Polex-Wolf, Joseph
AU - Knudsen, Lotte Bjerre
AU - Pers, Tune H
TI - Semaglutide attenuates neuroinflammation in male mice
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 7328
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Semaglutide attenuates neuroinflammation in male mice",
"container-title": "Nature communications",
"author": [
{
"family": "Belmont-Rausch",
"given": "Dylan M"
},
{
"family": "Ludwig",
"given": "Mette Q"
},
{
"family": "Bentsen",
"given": "Marie A"
},
{
"family": "Hansen",
"given": "Stine N"
},
{
"family": "Secher",
"given": "Anna"
},
{
"family": "Holst",
"given": "Dorte"
},
{
"family": "Moreno",
"given": "Jaime"
},
{
"family": "Das",
"given": "Vivek"
},
{
"family": "Egerod",
"given": "Kristoffer L"
},
{
"family": "Bjerregaard",
"given": "Anne-Mette"
},
{
"family": "Niss",
"given": "Kristoffer"
},
{
"family": "Bau",
"given": "Sarah"
},
{
"family": "Pyke",
"given": "Charles"
},
{
"family": "Dalgaard",
"given": "Kevin"
},
{
"family": "Merkestein",
"given": "Myrte"
},
{
"family": "Wichern",
"given": "Franziska"
},
{
"family": "Hansen",
"given": "Charlotte Thim"
},
{
"family": "Polex-Wolf",
"given": "Joseph"
},
{
"family": "Knudsen",
"given": "Lotte Bjerre"
},
{
"family": "Pers",
"given": "Tune H"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "7328",
"DOI": "10.1038/
"PMID": "42265098",
"PMCID": "PMC13402617",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
9
]
]
}
}
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/s42255-026-01539-3 [code]
- A cross-species atlas of the dorsal vagal complex reveals neural mediators of the effects of cagrilintide on energy balance.Journal: Nature metabolismIn common: emmeans, DESeq2, Seurat, 6 other tools, mouse, 5 references, 5 authors
- [2] doi:10.1038/s41597-023-02888-4 [code]
- An RNA-seq atlas of mouse brain areas during fasting and diet-induced obesity.Journal: Scientific dataIn common: mgcv, WGCNA, SingleCellExperiment, 10 other tools, mouse, 3 references, 2 authors
- [3] doi:10.1038/s41588-024-01961-x [code]
- Spatial and single-nucleus transcriptomic analysis of genetic and sporadic forms of Alzheimer's disease.Journal: Nature geneticsIn common: WGCNA, SingleCellExperiment, anndata, 11 other tools, Alzheimer's / dementia, mouse, cellular / molecular, 9 references
- [4] doi:10.1016/j.crmeth.2023.100498 [code]
- hdWGCNA identifies co-expression networks in high-dimensional transcriptomics data.Journal: Cell reports methodsIn common: mgcv, WGCNA, SingleCellExperiment, 12 other tools, Alzheimer's / dementia, cellular / molecular, 7 references
- [5] doi:10.1038/s41586-024-08504-8 [code]
- A comprehensive spatio-cellular map of the human hypothalamus.Journal: NatureIn common: SingleCellExperiment, anndata, Scanpy, 9 other tools, mouse, cellular / molecular, 5 references, author Lotte Bjerre Knudsen
- [6] doi:10.1038/s41586-024-07606-7 [code]
- Single-cell multiregion dissection of Alzheimer's disease.Journal: NatureIn common: mgcv, anndata, Scanpy, 12 other tools, Alzheimer's / dementia, mouse, cellular / molecular, 6 references
- [7] doi:10.1016/j.celrep.2024.115149 [code]
- Single-nucleus and spatial landscape of the sub-ventricular zone in human glioblastoma.Journal: Cell reportsIn common: mgcv, SingleCellExperiment, anndata, 14 other tools, cellular / molecular, 4 references
- [8] doi:10.1016/j.cell.2025.06.031 [code]
- Single-cell multiregion epigenomic rewiring in Alzheimer's disease progression and cognitive resilience.Journal: CellIn common: SingleCellExperiment, anndata, Scanpy, 11 other tools, Alzheimer's / dementia, cellular / molecular, 7 references
- [9] doi:10.1038/s41467-026-68920-4 [code]
- Molecular signatures of resilience to Alzheimer's disease in neocortical layer 4 neurons.Journal: Nature communicationsIn common: WGCNA, SingleCellExperiment, anndata, 11 other tools, Alzheimer's / dementia, mouse, cellular / molecular, 3 references
- [10] doi:10.1016/j.xgen.2025.101007 [code]
- Single-nucleus transcriptome atlas of orbitofrontal cortex in ALS with a deep learning-based decoding of alternative polyadenylation mechanisms.Journal: Cell genomicsIn common: SingleCellExperiment, Scanpy, DESeq2, 10 other tools, Alzheimer's / dementia, cellular / molecular, 5 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 37 scripts, and 20 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:5964aed5973fb13c…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.1038/s41467-026-74038-4)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-74038-4.svg
:target: https://openscicode.org/badge/doi/10.1038/s41467-026-74038-4
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-74038-4"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-74038-4.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.
