Focal astrocyte loss reveals nuclear translocation during lesion repopulation.
5 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 6 matches
- [1] § Methods › STs › Cell-type identification ↔ rmd/5.Cell_type.Rmd, lines 285 to 296 · score 0.81 · Slc1a2, S100b, Tubb2b, Aldh1l1, Gja1, SCT · block
oscr:b:1S47FBE0PX9Z1-H· Report a mismatch - [2] § Methods › STs › Cell-type identification ↔ rmd/7.Comparaison.Rmd, lines 142 to 165 · score 0.73 · logfc.threshold, FindMarkers, min.pct, healthy, DEGs, reactive · block
oscr:b:EZDTH1ECZD3CX-N· Report a mismatch - [3] § Results › Perilesional astrocytes display a transient injury-associated gene signature ↔ rmd/7.Comparaison.Rmd, lines 691 to 704 · score 0.72 · Tuba1a, Tmsb4x, Tubb2b, Marcks, Rtn4, Vim · block
oscr:b:88ET8D59G6R4T-L· Report a mismatch - [4] § Methods › STs › Gene expression and pathway analysis ↔ rmd/7.Comparaison.Rmd, lines 437 to 465 · score 0.61 · clusterProfiler, db, BP, mm, enriched, enrichment · block
oscr:b:PNF3ZTZV3TAHW-B· Report a mismatch - [5] § Methods › STs › Astrocyte spatial gene expression ↔ rmd/utils_ST.R, lines 67 to 101 · score 0.54 · spot coordinates, lesion center, centroids, Seurat, distance · block
oscr:b:GGFG9SWBV1HHX-0· Report a mismatch - [6] § Results › Perilesional astrocytes display a transient injury-associated gene signature ↔ rmd/5.Cell_type.Rmd, lines 285 to 296 · score 0.53 · S100b, Aldh1l1, Gja1, Gfap, filtered, Aqp4 · block
oscr:b:1S47FBE0PX9Z1-H· 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 · 850 lines · 28 KB · no license · 3 matches
- ---
- title: "Reactive Astrocyte Gene Signature and Pathway Dynamics Across Timepoints"
- author: "Anna Lasne"
- date: "2025-05-28"
- output: html_document
- ---
- # Setup
- ```{r}
- knitr::opts_chunk$set(echo = TRUE, warning = FALSE, message = FALSE, cache = TRUE)
- set.seed(123)
- suppressPackageStartupMessages({
- library(reticulate)
- library(grid)
- library(SeuratDisk)
- library(patchwork)
- library(Matrix)
- library(data.table)
- library(Seurat)
- library(dplyr)
- library(igraph)
- library(ggcorrplot)
- library(hdf5r)
- library(png)
- library(ggplot2)
- library(arrow)
- library(cluster)
- library(Banksy)
- library(readxl)
- library(textshape)
- library(radiant)
- library(scales)
- library(xml2)
- library(sf)
- library(ComplexHeatmap)
- library(RColorBrewer)
- library(future)
- library(EnhancedVolcano)
- library(tibble)
- library(circlize)
- library(purrr)
- library(clusterProfiler)
- library(org.Mm.eg.db)
- library(DOSE)
- })
- source("~/Documents/ST/resequencing/rmd/utils_ST.R") # Put all helper fns here!
- options(future.globals.maxSize = 8e9)
- mem.maxVSize(300000)
- ```
- # Data Loading
- ```{r}
- # Load per-timepoint Seurat objects for astrocyte subsets
- threedpi <- readRDS("~/Documents/ST/resequencing/Visium_obj/astrocyte_subset_labeled_0.5_3dpi.rds")
- fivedpi <- readRDS("~/Documents/ST/resequencing/Visium_obj/astrocyte_subset_labeled_0.5_5dpi.rds")
- seventeendpi <- readRDS("~/Documents/ST/resequencing/Visium_obj/astrocyte_subset_labeled_0.5_17dpi.rds")
- ```
- ## Timepoint labels
- ```{r}
- threedpi$timepoint <- "3dpi"
- fivedpi$timepoint <- "5dpi"
- seventeendpi$timepoint <- "17dpi"
- ```
- # Reactive/Healthy Classification
- ## Define 17 dpi Cutoffs (Quantile & Regression)
- ```{r}
- # Calculate quantile-based and regression-based thresholds for defining "reactive" at 17dpi.
- df_3_reactive <- [email hidden] %>% filter(astro_status == "reactive")
- q3_3dpi <- quantile(df_3_reactive$min_distance_microns, 0.75, na.rm = TRUE)
- df_5_reactive <- [email hidden] %>% filter(astro_status == "reactive")
- q3_5dpi <- quantile(df_5_reactive$min_distance_microns, 0.75, na.rm = TRUE)
- threshold_17_quantile <- mean(c(q3_3dpi, q3_5dpi))
- seventeendpi$astro_status <- ifelse([email hidden]$min_distance_microns <= threshold_17_quantile, "reactive", "healthy")
- message("Q₃(3 dpi reactive) = ", round(q3_3dpi, 1))
- message("Q₃(5 dpi reactive) = ", round(q3_5dpi, 1))
- message("Threshold for 17 dpi (quantile‐avg) = ", round(threshold_17_quantile, 1))
- ```
- ## Visualize Distance Distributions & Cutoffs
- ```{r}
- # Plot the distribution of min-distance to lesion at each timepoint,
- # including vertical lines for thresholds used to call "reactive".
- df_plot <- bind_rows(
- [email hidden] %>% filter(astro_status == "reactive") %>% dplyr::select(timepoint, min_distance_microns) %>% mutate(group = "3dpi reactive"),
- [email hidden] %>% filter(astro_status == "reactive") %>% dplyr::select(timepoint, min_distance_microns) %>% mutate(group = "5dpi reactive"),
- [email hidden] %>% dplyr::select(timepoint, min_distance_microns) %>% mutate(group = "17dpi all")
- )
- vline_info <- data.frame(
- label = c("Q3 (3 dpi)", "Q3 (5 dpi)", "Cutoff (quantile)"),
- x = c(q3_3dpi, q3_5dpi, threshold_17_quantile),
- color = c("#1B9E77", "#D95F02", "#7570B3"),
- linetype = c("dashed", "dashed", "solid"),
- stringsAsFactors = FALSE
- )
- ggplot(df_plot, aes(x = min_distance_microns)) +
- geom_density(aes(fill = group), color = NA, alpha = 0.3, size = 0.8) +
- geom_vline(
- data = vline_info,
- aes(xintercept = x, color = label, linetype = label),
- size = 1.2, inherit.aes = FALSE
- ) +
- scale_fill_manual(
- name = "Density group",
- values = c("3dpi reactive" = "#1B9E77", "5dpi reactive" = "#D95F02", "17dpi all" = "#7570B3")
- ) +
- scale_color_manual(
- name = "Reference lines",
- values = c("Q3 (3 dpi)" = "#1B9E77", "Q3 (5 dpi)" = "#D95F02", "Cutoff (quantile)" = "#7570B3")
- ) +
- scale_linetype_manual(
- name = "Reference lines",
- values = c("Q3 (3 dpi)" = "dashed", "Q3 (5 dpi)" = "dashed", "Cutoff (quantile)" = "solid")
- ) +
- labs(
- title = "Min‐Distance Densities (Reactive 3 dpi, Reactive 5 dpi, All 17 dpi)",
- x = "Min Distance to Lesion (µm)",
- y = "Density"
- ) +
- theme_minimal() +
- theme(
- legend.box = "vertical",
- legend.title = element_text(size = 10),
- legend.text = element_text(size = 9)
- )
- ```
- # Differential Expression Analyses
- ## Run FindMarkers (Reactive vs. Healthy)
- ```{r}
- # Find DEGs for each timepoint using "integrated" assay; compare "reactive" vs "healthy".
- seurat_list <- list("3dpi" = threedpi, "5dpi" = fivedpi, "17dpi" = seventeendpi)
- de_results <- lapply(names(seurat_list), function(tp) {
- obj <- seurat_list[[tp]]
- DefaultAssay(obj) <- "integrated"
- Idents(obj) <- "astro_status"
- FindMarkers(
- object = obj,
- ident.1 = "reactive",
- ident.2 = "healthy",
- test.use = "wilcox",
- logfc.threshold = 0.25,
- min.pct = 0.1
- ) %>%
- rownames_to_column("gene")
- })
- names(de_results) <- names(seurat_list)
- lapply(de_results, head, n = 5)
- ```
- ## Fold Change Heatmaps
- ```{r}
- # Load identified noise-prone genes for timepoint of interest
- noise_prone_genes <- readRDS("~/Documents/ST/resequencing/Visium_obj/Noise_prone_genes_3dpi.rds")
- ```
- ```{r}
- # Build a matrix of top up/down DEGs at 3dpi and plot fold changes for all timepoints
- markers_3dpi_df <- de_results[["3dpi"]] %>% column_to_rownames("gene")
- markers_5dpi_df <- de_results[["5dpi"]] %>% column_to_rownames("gene")
- markers_17dpi_df <- de_results[["17dpi"]] %>% column_to_rownames("gene")
- ```
- ```{r}
- sig3 <- markers_3dpi_df %>%
- rownames_to_column("gene") %>%
- filter(p_val_adj < 0.05)
- # Filter out the noise‐prone genes
- sig3_clean <- sig3 %>%
- filter(! gene %in% noise_prone_genes)
- top_up_clean <- sig3_clean %>%
- arrange(desc(avg_log2FC)) %>%
- slice_head(n = 20) %>%
- pull(gene)
- top_down_clean <- sig3_clean %>%
- arrange(avg_log2FC) %>%
- slice_head(n = 20) %>%
- pull(gene)
- top_genes <- c(top_up_clean, top_down_clean)
- ```
- ```{r}
- get_log2fc <- function(markers_df, genes) {
- sapply(genes, function(g) {
- if (g %in% rownames(markers_df)) {
- markers_df[g, "avg_log2FC"]
- } else {
- NA_real_
- }
- })
- }
- fc_matrix <- cbind(
- `3 dpi` = get_log2fc(markers_3dpi_df, top_genes),
- `5 dpi` = get_log2fc(markers_5dpi_df, top_genes),
- `17 dpi` = get_log2fc(markers_17dpi_df, top_genes)
- )
- rownames(fc_matrix) <- top_genes
- raw_fun <- colorRamp2(
- c(min(fc_matrix, na.rm = TRUE), 0, max(fc_matrix, na.rm = TRUE)),
- c("#7EA3DE", "#E6E3E3", "#DB3C4C")
- )
- z_fun <- colorRamp2(c(-2, 0, 2), c("#7EA3DE", "#E6E3E3", "#DB3C4C"))
- ht_raw <- Heatmap(
- fc_matrix,
- name = "Fold−change on SCT residuals",
- col = raw_fun,
- cluster_rows = FALSE,
- cluster_columns = FALSE,
- show_row_names = TRUE,
- show_column_names = TRUE,
- row_names_side = "left",
- column_names_side = "top",
- column_names_rot = 0,
- column_title = "Fold−change on SCT residuals",
- na_col = "grey90"
- )
- ht_raw
- ```
- ```{r}
- # Save HM data
- mat <- ht_raw@matrix
- df <- as.data.frame(mat)
- df$Gene <- rownames(df)
- df <- df[, c("Gene", setdiff(names(df), "Gene"))]
- write.csv(
- df,
- file = "top20_3dpi_FC_across_timepoints.csv",
- row.names = FALSE,
- quote = FALSE
- )
- ```
- # DEG Summary and Evolution
- ```{r}
- # Summarize number/proportion of up/down/NS DEGs at each timepoint and plot stacked bars
- classify_deg <- function(df, pval_cut = 0.05, fc_cut = 0.25) {
- df %>%
- mutate(regulation = case_when(
- p_val_adj < pval_cut & avg_log2FC > fc_cut ~ "Upregulated",
- p_val_adj < pval_cut & avg_log2FC < -fc_cut ~ "Downregulated",
- TRUE ~ "NS"
- ))
- }
- # marker dataframes in list with timepoint names
- markers_list <- list(
- "3dpi" = markers_3dpi_df,
- "5dpi" = markers_5dpi_df,
- "17dpi" = markers_17dpi_df
- )
- markers_list_clean <- map(markers_list, function(df) {
- df %>%
- # bring gene names into a column
- rownames_to_column("gene") %>%
- # keep only genes NOT in the noise list
- filter(! gene %in% noise_prone_genes) %>%
- # back to rownames
- column_to_rownames("gene")
- })
- # DEG summary: classify & bind all timepoints
- deg_all <- map2_dfr(markers_list_clean, names(markers_list_clean),
- ~ classify_deg(.x) %>% mutate(timepoint = .y)
- )
- deg_summary <- deg_all %>%
- group_by(timepoint, regulation) %>%
- summarise(n = n(), .groups = "drop") %>%
- group_by(timepoint) %>%
- mutate(prop = n / sum(n)) %>%
- ungroup() %>%
- mutate(
- timepoint = factor(timepoint, levels = names(markers_list_clean)),
- regulation = factor(regulation, levels = c("Upregulated", "NS", "Downregulated"))
- )
- # Plot DEG summary
- ggplot(deg_summary, aes(timepoint, prop, fill = regulation)) +
- geom_col() +
- geom_text(aes(label = n),
- position = position_stack(vjust = 0.5),
- color = "white", size = 5) +
- scale_fill_manual(values = c(
- Upregulated = "#E44E5A",
- NS = "lightgrey",
- Downregulated = "#7CA2DE"
- )) +
- labs(
- title = "Proportion and Number of DEGs",
- x = "Timepoint",
- y = "Proportion of Genes",
- fill = "Regulation"
- ) +
- theme_minimal(base_size = 14)
- ```
- ```{r}
- # Sava data
- write.csv(
- deg_summary,
- file = "DEG_time.csv",
- row.names = FALSE,
- quote = FALSE
- )
- ```
- ## DEG Evolution (Up and Down Signatures)
- ```{r}
- # Identify 3dpi signatures
- sig_3dpi <- deg_summary %>%
- filter(timepoint == "3dpi" & regulation != "NS") %>%
- split(.$regulation) %>%
- map(~ rownames(markers_list_clean[["3dpi"]])[
- markers_list_clean[["3dpi"]]$p_val_adj < 0.05 &
- sign(markers_list_clean[["3dpi"]]$avg_log2FC) == ifelse(.x$regulation[1]=="Upregulated", 1, -1) &
- abs(markers_list_clean[["3dpi"]]$avg_log2FC) > 0.25
- ])
- # Build gene‐evolution table for a signature
- make_evolution <- function(genes, init_label, markers, pval_cut = 0.05, fc_cut = 0.25) {
- map_dfr(names(markers), function(tp) {
- df <- markers[[tp]]
- stats <- df[genes, c("p_val_adj","avg_log2FC"), drop = FALSE]
- regulation <- if (tp == "3dpi") {
- init_label
- } else {
- case_when(
- !is.na(stats$p_val_adj) & stats$p_val_adj < pval_cut & stats$avg_log2FC > fc_cut ~ "Upregulated",
- !is.na(stats$p_val_adj) & stats$p_val_adj < pval_cut & stats$avg_log2FC < -fc_cut ~ "Downregulated",
- TRUE ~ "NS"
- )
- }
- tibble(
- gene = genes,
- timepoint = factor(tp, levels = names(markers)),
- regulation = factor(regulation, levels = c("Upregulated", "NS", "Downregulated"))
- )
- })
- }
- # Summarize evolution for plotting
- summarize_evol <- function(evo_df) {
- evo_df %>%
- count(timepoint, regulation, name = "n") %>%
- group_by(timepoint) %>%
- mutate(prop = n / sum(n)) %>%
- ungroup()
- }
- # Plot
- plot_evol <- function(sum_df, title, hide_legend = FALSE) {
- ggplot(sum_df, aes(timepoint, prop, fill = regulation)) +
- geom_col() +
- geom_text(aes(label = n),
- position = position_stack(vjust = .5),
- color = "white", size = 5) +
- scale_fill_manual(values = c(
- Upregulated = "#E44E5A",
- NS = "lightgrey",
- Downregulated = "#7CA2DE"
- )) +
- labs(title = title, x = "Timepoint", y = "Proportion of Genes") +
- theme_minimal(base_size = 14) +
- guides(fill = if (hide_legend) "none" else "legend")
- }
- evol_up <- make_evolution(sig_3dpi$Up, "Upregulated", markers_list_clean)
- evol_down <- make_evolution(sig_3dpi$Down, "Downregulated", markers_list_clean)
- sum_up <- summarize_evol(evol_up)
- sum_down <- summarize_evol(evol_down)
- p_up <- plot_evol(sum_up, "3 dpi Upregulated Signature Evolution", hide_legend = TRUE)
- p_down <- plot_evol(sum_down, "3 dpi Downregulated Signature Evolution")
- (p_up / p_down) + plot_layout(heights = c(1, 1))
- ```
- ```{r}
- # Save data
- write.csv(
- sum_up,
- file = "DEG_UP_time.csv",
- row.names = FALSE,
- quote = FALSE
- )
- ```
- # Pathway Enrichment (GO)
- ## GO Enrichment for Upregulated Genes
- ```{r}
- # Get upregulated genes for each timepoint and run GO enrichment (biological process)
- deg_3dpi_up <- subset(markers_list_clean[["3dpi"]], p_val_adj < 0.05 & avg_log2FC > 0.25)
- deg_5dpi_up <- subset(markers_list_clean[["5dpi"]], p_val_adj < 0.05 & avg_log2FC > 0.25)
- deg_17dpi_up <- subset(markers_list_clean[["17dpi"]], p_val_adj < 0.05 & avg_log2FC > 0.25)
- genes_3dpi_up <- rownames(deg_3dpi_up)
- genes_5dpi_up <- rownames(deg_5dpi_up)
- genes_17dpi_up <- rownames(deg_17dpi_up)
- ```
- ```{r}
- # Map gene symbols to Entrez IDs (required for clusterProfiler)
- genes_3dpi_entrez <- bitr(genes_3dpi_up, fromType = "SYMBOL", toType = "ENTREZID", OrgDb = org.Mm.eg.db)
- genes_5dpi_entrez <- bitr(genes_5dpi_up, fromType = "SYMBOL", toType = "ENTREZID", OrgDb = org.Mm.eg.db)
- genes_17dpi_entrez <- bitr(genes_17dpi_up, fromType = "SYMBOL", toType = "ENTREZID", OrgDb = org.Mm.eg.db)
- # Run enrichment
- ego_3dpi_up <- enrichGO(gene = genes_3dpi_entrez$ENTREZID,
- OrgDb = org.Mm.eg.db,
- ont = "BP",
- pAdjustMethod = "BH",
- pvalueCutoff = 0.05,
- qvalueCutoff = 0.05,
- readable = TRUE)
- ego_5dpi_up <- enrichGO(gene = genes_5dpi_entrez$ENTREZID,
- OrgDb = org.Mm.eg.db,
- ont = "BP",
- pAdjustMethod = "BH",
- pvalueCutoff = 0.05,
- qvalueCutoff = 0.05,
- readable = TRUE)
- ego_17dpi_up <- enrichGO(gene = genes_17dpi_entrez$ENTREZID,
- OrgDb = org.Mm.eg.db,
- ont = "BP",
- pAdjustMethod = "BH",
- pvalueCutoff = 0.05,
- qvalueCutoff = 0.05,
- readable = TRUE)
- ```
- ## GO Enrichment for Downregulated Genes
- ```{r}
- # Repeat for downregulated DEGs
- deg_3dpi_down <- subset(markers_list_clean[["3dpi"]], p_val_adj < 0.05 & avg_log2FC < -0.25)
- deg_5dpi_down <- subset(markers_list_clean[["5dpi"]], p_val_adj < 0.05 & avg_log2FC < -0.25)
- deg_17dpi_down <- subset(markers_list_clean[["17dpi"]], p_val_adj < 0.05 & avg_log2FC < -0.25)
- genes_3dpi_down <- rownames(deg_3dpi_down)
- genes_5dpi_down <- rownames(deg_5dpi_down)
- genes_17dpi_down <- rownames(deg_17dpi_down)
- ```
- ```{r}
- genes_3dpi_down_entrez <- bitr(genes_3dpi_down, fromType = "SYMBOL", toType = "ENTREZID", OrgDb = org.Mm.eg.db)
- genes_5dpi_down_entrez <- bitr(genes_5dpi_down, fromType = "SYMBOL", toType = "ENTREZID", OrgDb = org.Mm.eg.db)
- genes_17dpi_down_entrez <- bitr(genes_17dpi_down, fromType = "SYMBOL", toType = "ENTREZID", OrgDb = org.Mm.eg.db)
- ego_3dpi_down <- enrichGO(gene = genes_3dpi_down_entrez$ENTREZID,
- OrgDb = org.Mm.eg.db,
- ont = "BP",
- pAdjustMethod = "BH",
- pvalueCutoff = 0.05,
- qvalueCutoff = 0.05,
- readable = TRUE)
- ego_5dpi_down <- enrichGO(gene = genes_5dpi_down_entrez$ENTREZID,
- OrgDb = org.Mm.eg.db,
- ont = "BP",
- pAdjustMethod = "BH",
- pvalueCutoff = 0.05,
- qvalueCutoff = 0.05,
- readable = TRUE)
- ego_17dpi_down <- enrichGO(gene = genes_17dpi_down_entrez$ENTREZID,
- OrgDb = org.Mm.eg.db,
- ont = "BP",
- pAdjustMethod = "BH",
- pvalueCutoff = 0.05,
- qvalueCutoff = 0.05,
- readable = TRUE)
- ```
- ## Pathway Bubble Plots (Up/Down)
- ### Upregulated
- ```{r}
- # Extract and plot the top 3dpi upregulated pathways and show their trajectory across timepoints.
- df_3dpi <- as.data.frame(ego_3dpi_up@result) %>% mutate(timepoint = "3dpi")
- df_5dpi <- as.data.frame(ego_5dpi_up@result) %>% mutate(timepoint = "5dpi")
- df_17dpi <- as.data.frame(ego_17dpi_up@result) %>% mutate(timepoint = "17dpi")
- top10_pathways <- df_3dpi %>% arrange(p.adjust) %>% head(15)
- topIDs <- top10_pathways$ID
- top10_pathways <- top10_pathways %>% mutate(Pathway = paste(ID, Description, sep=": "))
- ordered_pathways <- top10_pathways %>% arrange(p.adjust) %>% pull(Pathway)
- df_3 <- df_3dpi %>% filter(ID %in% topIDs) %>% mutate(Pathway = paste(ID, Description, sep=": "))
- df_5 <- df_5dpi %>% filter(ID %in% topIDs) %>% mutate(Pathway = paste(ID, Description, sep=": "))
- df_17 <- df_17dpi %>% filter(ID %in% topIDs) %>% mutate(Pathway = paste(ID, Description, sep=": "))
- combined_df <- bind_rows(df_3, df_5, df_17)
- combined_df <- combined_df %>%
- mutate(
- GeneRatio_numeric = sapply(GeneRatio, function(x){
- parts <- as.numeric(unlist(strsplit(x, "/")))
- if (length(parts) == 2) parts[1] / parts[2] else NA
- }),
- neg_log10_p = -log10(p.adjust)
- )
- combined_df$Pathway <- factor(combined_df$Pathway, levels = rev(ordered_pathways))
- combined_df$timepoint <- factor(combined_df$timepoint, levels = c("3dpi", "5dpi", "17dpi"))
- ggplot(combined_df, aes(x = timepoint, y = Pathway)) +
- geom_point(aes(size = GeneRatio_numeric, color = neg_log10_p)) +
- scale_color_gradient(low = "#F7CACE", high = "#A01823", name = expression(-log[10](adj~p))) +
- scale_size(range = c(3, 8), name = "Gene Ratio") +
- labs(title = "Evolution of Top 3dpi Pathways Across Timepoints",
- x = "Timepoint",
- y = "Pathway") +
- theme_bw() +
- theme(text = element_text(size = 12),
- axis.text.y = element_text(face = "italic"))
- ```
- ```{r}
- # Save data
- write.csv(combined_df, "top15_GO_UP_5dpi_pathways_across_timepoints_noise_genes.csv", row.names = FALSE)
- ```
- ### Downregulated
- ```{r}
- # Repeat for top 3dpi downregulated pathways
- df_3dpi <- as.data.frame(ego_3dpi_down@result) %>% mutate(timepoint = "3dpi")
- df_5dpi <- as.data.frame(ego_5dpi_down@result) %>% mutate(timepoint = "5dpi")
- df_17dpi <- as.data.frame(ego_17dpi_down@result) %>% mutate(timepoint = "17dpi")
- top10_pathways <- df_5dpi %>% arrange(p.adjust) %>% head(15)
- topIDs <- top10_pathways$ID
- top10_pathways <- top10_pathways %>% mutate(Pathway = paste(ID, Description, sep=": "))
- ordered_pathways <- top10_pathways %>% arrange(p.adjust) %>% pull(Pathway)
- df_3 <- df_3dpi %>% filter(ID %in% topIDs) %>% mutate(Pathway = paste(ID, Description, sep=": "))
- df_5 <- df_5dpi %>% filter(ID %in% topIDs) %>% mutate(Pathway = paste(ID, Description, sep=": "))
- df_17 <- df_17dpi %>% filter(ID %in% topIDs) %>% mutate(Pathway = paste(ID, Description, sep=": "))
- combined_df <- bind_rows(df_3, df_5, df_17)
- combined_df <- combined_df %>%
- mutate(
- GeneRatio_numeric = sapply(GeneRatio, function(x){
- parts <- as.numeric(unlist(strsplit(x, "/")))
- if(length(parts) == 2) parts[1] / parts[2] else NA
- }),
- neg_log10_p = -log10(p.adjust)
- )
- combined_df$Pathway <- factor(combined_df$Pathway, levels = rev(ordered_pathways))
- combined_df$timepoint <- factor(combined_df$timepoint, levels = c("3dpi", "5dpi", "17dpi"))
- ggplot(combined_df, aes(x = timepoint, y = Pathway)) +
- geom_point(aes(size = GeneRatio_numeric, color = neg_log10_p)) +
- scale_color_gradient(low = "#DFE8F7", high = "#1D3D72", name = expression(-log[10](adj~p))) +
- scale_size(range = c(3, 8), name = "Gene Ratio") +
- labs(title = "Evolution of Top 3dpi Downregulated Pathways Across Timepoints",
- x = "Timepoint",
- y = "Pathway") +
- theme_bw() +
- theme(text = element_text(size = 12),
- axis.text.y = element_text(face = "italic"))
- ```
- ```{r}
- # Save data
- write.csv(combined_df, "top5_GO_DOWN_3dpi_pathways_across_timepoints_noisegenes.csv", row.names = FALSE)
- ```
- # Gene Signature Analysis (Migratory & Progenitor Genes)
- ```{r, warning=FALSE}
- # Plot the mean expression (±SE) and per-gene trends for curated migratory and progenitor gene lists
- obj_list <- list(
- "3dpi" = subset(threedpi, subset = astro_status == "reactive"),
- "5dpi" = subset(fivedpi, subset = astro_status == "reactive"),
- "17dpi" = subset(seventeendpi, subset = astro_status == "reactive")
- )
- get_overall_mean_expr <- function(seurat_obj, gene_list, assay = "SCT") {
- mat <- GetAssayData(seurat_obj, assay = assay, slot = "data")
- genes_present <- intersect(gene_list, rownames(mat))
- if (length(genes_present) == 0) return(c(mean=NA, se=NA))
- expr <- rowMeans(mat[genes_present, , drop=FALSE], na.rm=TRUE)
- overall_mean <- mean(expr, na.rm=TRUE)
- overall_se <- sd(expr, na.rm=TRUE) / sqrt(length(expr))
- c(mean=overall_mean, se=overall_se)
- }
- plot_signature_overall <- function(obj_list, gene_list, sig_name) {
- df <- do.call(rbind, lapply(names(obj_list), function(tp) {
- stats <- get_overall_mean_expr(obj_list[[tp]], gene_list)
- data.frame(Timepoint = tp, Mean_Expression = stats["mean"], SE = stats["se"])
- }))
- df$Timepoint <- factor(df$Timepoint, levels = c("3dpi","5dpi","17dpi"))
- ggplot(df, aes(x = Timepoint, y = Mean_Expression, group = 1)) +
- geom_line(size = 1, color = "black") +
- geom_point(size = 4, aes(color = Timepoint)) +
- geom_errorbar(aes(ymin = Mean_Expression - SE, ymax = Mean_Expression + SE),
- width = 0.1, color = "black") +
- scale_color_manual(values = c("3dpi" = "#931F1D",
- "5dpi" = "#EF959D",
- "17dpi" = "#F3B7BC")) +
- labs(title = paste(sig_name, "Signature: Mean Expression (±SE)"),
- x = "Timepoint", y = "Mean Expression") +
- theme_minimal() +
- theme(text = element_text(size = 14))
- }
- plot_signature_per_gene <- function(obj_list, gene_list, sig_name) {
- df <- bind_rows(lapply(names(obj_list), function(tp) {
- mat <- GetAssayData(obj_list[[tp]], assay="SCT", slot="data")
- genes_present <- intersect(gene_list, rownames(mat))
- if(length(genes_present) == 0) return(NULL)
- tibble(Timepoint = tp,
- Gene = genes_present,
- Mean_Expr = rowMeans(mat[genes_present, , drop=FALSE], na.rm=TRUE))
- }))
- df$Timepoint <- factor(df$Timepoint, levels = c("3dpi","5dpi","17dpi"))
- ggplot(df, aes(x = Timepoint, y = Mean_Expr, group = Gene, color = Gene)) +
- geom_line(size = 0.8, alpha = 0.8) +
- geom_point(size = 2, alpha = 0.8) +
- scale_color_viridis_d(option = "turbo") +
- labs(
- title = paste0(sig_name, " Signature Genes: Per-gene Trends"),
- subtitle = "Overlay of all signature genes",
- x = "Timepoint",
- y = "Mean Expression",
- color = "Gene"
- ) +
- theme_minimal(base_size = 12) +
- theme(
- axis.text.x = element_text(angle = 45, hjust = 1),
- legend.position = "right",
- legend.key.size = unit(0.4, "cm")
- )
- }
- ```
- ## Progenitor Genes: Per-gene and Overall Trends
- ```{r}
- # Curated list of proliferative signature genes (from literature or own analysis)
- progenitor_genes <- c(
- "Actn4", "Akt1s1", "Anxa7", "Atp2b4", "Bcl2l1", "C1qa", "Cdk14", "Chst2",
- "Dact3", "Dlg1", "Efhd2", "Etv5", "Fgf13", "Fkbp1a", "Gfap", "Grn", "Hdac5",
- "Igfbp2", "Il34", "Manf", "Mast2", "Mcl1", "Ndfip1", "Pcna", "Ptprj", "Rbbp4",
- "Rimbp2", "Sema6b", "Smarca2", "Tmsb4x", "Trf", "Vim"
- )
- progenitor_genes_clean <- setdiff(progenitor_genes, noise_prone_genes)
- plot_signature_overall(obj_list, progenitor_genes_clean, "Progenitor")
- plot_signature_per_gene(obj_list, progenitor_genes_clean, "Progenitor")
- ```
- ## Migratory Genes: Per-gene Trends
- ```{r}
- # Curated migratory signature genes
- migratory_genes <- c(
- "Actn4", "Brk1", "Cotl1", "Emc10", "Evl", "Fam107a", "Marcks", "Pik3r2",
- "Rtn4", "Sdc4", "Sparc", "Stmn1", "Tmsb4x", "Tnr", "Tuba1a", "Tubb2b",
- "Usp9x", "Vim"
- )
- migratory_genes_clean <- setdiff(migratory_genes, noise_prone_genes)
- plot_signature_overall(obj_list, migratory_genes, "Migratory")
- plot_signature_per_gene(obj_list, migratory_genes, "Migratory")
- ```
- ## Signature Expression vs. Distance
- ```{r}
- get_sig_expr_cells <- function(obj, tp, genes, assay="SCT", slot="data", dist_col="min_distance_microns") {
- mat <- GetAssayData(obj, assay = assay, slot = slot)
- genes_present <- intersect(genes, rownames(mat))
- if (length(genes_present) == 0) return(NULL)
- # compute signature score per cell
- sig_vals <- colMeans(mat[genes_present, , drop = FALSE], na.rm = TRUE)
- # pull distance from metadata
- d <- [email hidden][names(sig_vals), dist_col]
- # assemble
- data.frame(
- Timepoint = tp,
- Cell = names(sig_vals),
- Expr = sig_vals,
- Distance = d,
- stringsAsFactors = FALSE
- )
- }
- # Progenitor signature vs. distance
- genes <- progenitor_genes_clean
- df3 <- get_sig_expr_cells(threedpi, "3dpi", genes)
- df5 <- get_sig_expr_cells(fivedpi, "5dpi", genes)
- df17 <- get_sig_expr_cells(seventeendpi, "17dpi",genes)
- df_cells <- bind_rows(df3, df5, df17)
- p_prol <- ggplot(df_cells, aes(x = Distance, y = Expr, color = Timepoint, fill = Timepoint)) +
- geom_smooth(method = "loess", se = TRUE, size = 1) +
- labs(
- title = "Progenitor Signature: Mean SCT Expression vs. Distance",
- x = "Min Distance (µm)",
- y = "Mean SCT Expression"
- ) +
- scale_color_manual(values = c(
- "3dpi" = "#931F1D",
- "5dpi" = "#EF959D",
- "17dpi" = "#F6CBCF"
- )) +
- scale_fill_manual(values = c(
- "3dpi" = "#F6CCCC",
- "5dpi" = "#FCD1D0",
- "17dpi" = "#FBEDEC"
- )) +
- theme_minimal(base_size = 14) +
- theme(text = element_text(size = 14))
- print(p_prol)
- # Migratory signature vs. distance
- genes <- migratory_genes
- df3 <- get_sig_expr_cells(threedpi, "3dpi", genes)
- df5 <- get_sig_expr_cells(fivedpi, "5dpi", genes)
- df17 <- get_sig_expr_cells(seventeendpi, "17dpi",genes)
- df_cells <- bind_rows(df3, df5, df17)
- p_migr <- ggplot(df_cells, aes(x = Distance, y = Expr, color = Timepoint, fill = Timepoint)) +
- geom_smooth(method = "loess", se = TRUE, size = 1) +
- labs(
- title = "Migratory Signature: Mean SCT Expression vs. Distance",
- x = "Min Distance (µm)",
- y = "Mean SCT Expression"
- ) +
- scale_color_manual(values = c(
- "3dpi" = "#931F1D",
- "5dpi" = "#EF959D",
- "17dpi" = "#F6CBCF"
- )) +
- scale_fill_manual(values = c(
- "3dpi" = "#F6CCCC",
- "5dpi" = "#FCD1D0",
- "17dpi" = "#FBEDEC"
- )) +
- theme_minimal(base_size = 14) +
- theme(text = element_text(size = 14))
- print(p_migr)
- ```
- ## Saving Data
- ### Save Expression vs. Distance
- ```{r}
- df_prol_export <- df_cells %>%
- dplyr::rename(
- timepoint = Timepoint,
- distance = Distance,
- `Mean expression` = Expr
- )
- write.csv(df_prol_export, "migratory_signature_distance.csv", row.names = FALSE)
- ```
- ### Save per-gene trends
- ```{r}
- # Save the per-gene trends for both signatures for further stats or plotting
- save_signature_per_gene <- function(obj_list, gene_list, filename) {
- df <- bind_rows(lapply(names(obj_list), function(tp) {
- mat <- GetAssayData(obj_list[[tp]], assay="SCT", slot="data")
- genes_present <- intersect(gene_list, rownames(mat))
- if(length(genes_present) == 0) return(NULL)
- tibble(Timepoint = tp,
- Gene = genes_present,
- Mean_Expr = rowMeans(mat[genes_present, , drop=FALSE], na.rm=TRUE))
- }))
- df$Timepoint <- factor(df$Timepoint, levels = c("3dpi","5dpi","17dpi"))
- write.csv(df, file = filename, row.names = FALSE)
- invisible(df)
- }
- save_signature_per_gene(obj_list, migratory_genes, "migratory_per_gene_noise.csv")
- save_signature_per_gene(obj_list, proliferative_genes, "proliferative_per_gene_noise.csv")
- ```
- ### Save overall mean (±SE) table
- ```{r}
- # Save overall mean and SE for signature plots (for bar/line graphs or supplement)
- save_signature_overall <- function(obj_list, gene_list, filename) {
- df <- do.call(rbind, lapply(names(obj_list), function(tp) {
- stats <- get_overall_mean_expr(obj_list[[tp]], gene_list)
- data.frame(Timepoint = tp, Mean_Expression = stats["mean"], SE = stats["se"])
- }))
- df$Timepoint <- factor(df$Timepoint, levels = c("3dpi","5dpi","17dpi"))
- write.csv(df, file = filename, row.names = FALSE)
- invisible(df)
- }
- save_signature_overall(obj_list, migratory_genes, "migratory_overal_noise.csv")
- save_signature_overall(obj_list, proliferative_genes, "proliferative_overall_noise.csv")
- ```
- # Session Info
- ```{r}
- sessionInfo()
- ```
7.Comparaison.Rmd at commit a23950f, no license · at the source
Overview
17 affiliations
- Institute of Pharmacology and Toxicology, University of Zurich, Zurich, Switzerland
- Neurology Department, University Hospital Zurich, University of Zurich, Zurich, Switzerland
- Neuroscience Center Zurich, University and ETH Zurich, Zurich, Switzerland
- Institute of Neuronal Cell Biology, Technical University of Munich, Munich, Germany
- Department of Neurology, Klinikum rechts der Isar, Technical University of Munich, Munich, Germany
- Center for Microscopy and Image Analysis, University of Zurich, Zurich, Switzerland
- Computer Vision Laboratory, Department of Information Technology and Electrical Engineering, ETH Zurich, Zurich, Switzerland
- Department of Neuropathology, University Medical Center Göttingen, Göttingen, Germany
- Cluster of Excellence ‘Multiscale Bioimaging: from Molecular Machines to Network of Excitable Cells’ (MBExC), University of Goettingen, Göttingen, Germany
- Institute for Translational Neuroscience, NYU Grossman School of Medicine, New York City, NY USA
- Brain Research Institute, University of Zurich, Zurich, Switzerland
- German Center for Neurodegenerative Diseases (DZNE), Munich, Germany
- Munich Cluster for Systems Neurology (SyNergy), Munich, Germany
- Departments of Neurology and Ophthalmology, Programs in Neuroscience and Immunology, University of Colorado School of Medicine, Aurora, CO USA
- Department of Neuroscience, NYU Grossman School of Medicine, New York City, NY USA
- Department of Ophthalmology, NYU Grossman School of Medicine, New York City, NY USA
- Parekh Center for Interdisciplinary Neurology, NYU Grossman School of Medicine, New York City, NY USA
Abstract
Astrocyte loss occurs in various neurological conditions and can disrupt local tissue homeostasis. While astrocytes surrounding border-forming lesions adopt reactive states without restoring astrocyte networks, how astrocytes respond to spatially confined astrocyte loss remains poorly understood. Here we used longitudinal in vivo two-photon microscopy, combined with spatiotemporal transcriptional profiling, to examine astrocyte responses following focal aquaporin-4 antibody-mediated ablation in the somatosensory cortex of adult mouse brain, a model of astrocytopathy relevant to neuromyelitis optica spectrum disorder. Here we show that perilesional astrocytes undergo pronounced structural remodeling during lesion repopulation, characterized by cell proliferation, prolonged multinucleated astrocyte states, polarized process extension into the depleted area and gradual displacement of nuclei into previously unoccupied astrocyte territories. Spatial transcriptomics reveal an injury-associated molecular response that resolves as the astrocyte network is restored. Together, our findings delineate the spatiotemporal dynamics of astrocyte regeneration after astrocyte loss, extending current understanding of astroglial plasticity in the adult brain.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 6 matches between paragraphs and lines of code.
alasne-uzh/migratory-astrocytes-ST
a23950f0bf379a0edd0ed1b9da19efd8aed7e781, 23 July 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
9 files
- rmd/
1.Preprocesseing_and_fil , R, 159 linestering.Rmd - rmd/
2.MMC.Rmd , R, 171 lines - rmd/
3.Distance.Rmd , R, 116 lines - rmd/
4.SCT_clustering.Rmd , R, 234 lines - rmd/
5.Cell_type.Rmd , R, 412 lines, 2 matches - rmd/
6.Astrocytes.Rmd , R, 323 lines - rmd/
7.Comparaison.Rmd , R, 850 lines, 3 matches - rmd/
utils_ST.R , R, 172 lines, 1 match - README.md, Text, 67 lines
doi:10.17632/xw8fv8gt8f.1
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
Code availability
This paper reports an original Python code for vector-based morphological analysis that has been deposited at the Mendeley repository (10.17632/
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:
- 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 8 scripts, each with its path and the digest of its content;
- 6 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Datasets cited
- geo:GSE300434, at NCBI GEO; found in “Data availability”
Data Availability Statement
Authors confirm that all relevant data are included in the paper/
This paper reports an original Python code for vector-based morphological analysis that has been deposited at the Mendeley repository (10.17632/
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, 20 authors, 2 keywords, 8 MeSH terms, 2 funders, 81 references.
Cite
This paper
Herwerth, M., Wyss, M. T., Schmid, N. B., Lasne, A., Condrau, J., Ravotto, L., Mateos Melero, J. M., Kaech, A., Bredell, G., Thomas, C., Kim, R., Kukanja, P., Korobeynyk, V. L., Stadelmann, C., Misgeld, T., Bennett, J. L., Jessberger, S., Saab, A. S., Liddelow, S. A., & Weber, B. (2026). Focal astrocyte loss reveals nuclear translocation during lesion repopulation. Nature neuroscience, 29(8), 1826-1840. https://
BibTeX
@article{herwerth2026foc
author = {Herwerth, Marina and Wyss, Matthias T and Schmid, Nicola B and Lasne, Anna and Condrau, Jacqueline and Ravotto, Luca and Mateos Melero, José María and Kaech, Andres and Bredell, Gustav and Thomas, Carolina and Kim, Rachel and Kukanja, Petra and Korobeynyk, Vladyslav L and Stadelmann, Christine and Misgeld, Thomas and Bennett, Jeffrey L and Jessberger, Sebastian and Saab, Aiman S and Liddelow, Shane A and Weber, Bruno},
title = {{Focal astrocyte loss reveals nuclear translocation during lesion repopulation}},
journal = {Nature neuroscience},
year = {2026},
month = jul,
volume = {29},
number = {8},
pages = {1826--1840},
publisher = {Nature Portfolio},
issn = {1097-6256},
doi = {10.1038/
url = {https://
pmid = {42493549},
pmcid = {PMC13433311}
}
RIS
TY - JOUR
AU - Herwerth, Marina
AU - Wyss, Matthias T
AU - Schmid, Nicola B
AU - Lasne, Anna
AU - Condrau, Jacqueline
AU - Ravotto, Luca
AU - Mateos Melero, José María
AU - Kaech, Andres
AU - Bredell, Gustav
AU - Thomas, Carolina
AU - Kim, Rachel
AU - Kukanja, Petra
AU - Korobeynyk, Vladyslav L
AU - Stadelmann, Christine
AU - Misgeld, Thomas
AU - Bennett, Jeffrey L
AU - Jessberger, Sebastian
AU - Saab, Aiman S
AU - Liddelow, Shane A
AU - Weber, Bruno
TI - Focal astrocyte loss reveals nuclear translocation during lesion repopulation
T2 - Nature neuroscience
J2 - Nat Neurosci
PY - 2026
DA - 2026/
VL - 29
IS - 8
SP - 1826
EP - 1840
SN - 1097-6256
PB - Nature Portfolio
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Focal astrocyte loss reveals nuclear translocation during lesion repopulation",
"container-title": "Nature neuroscience",
"author": [
{
"family": "Herwerth",
"given": "Marina"
},
{
"family": "Wyss",
"given": "Matthias T"
},
{
"family": "Schmid",
"given": "Nicola B"
},
{
"family": "Lasne",
"given": "Anna"
},
{
"family": "Condrau",
"given": "Jacqueline"
},
{
"family": "Ravotto",
"given": "Luca"
},
{
"family": "Mateos Melero",
"given": "José María"
},
{
"family": "Kaech",
"given": "Andres"
},
{
"family": "Bredell",
"given": "Gustav"
},
{
"family": "Thomas",
"given": "Carolina"
},
{
"family": "Kim",
"given": "Rachel"
},
{
"family": "Kukanja",
"given": "Petra"
},
{
"family": "Korobeynyk",
"given": "Vladyslav L"
},
{
"family": "Stadelmann",
"given": "Christine"
},
{
"family": "Misgeld",
"given": "Thomas"
},
{
"family": "Bennett",
"given": "Jeffrey L"
},
{
"family": "Jessberger",
"given": "Sebastian"
},
{
"family": "Saab",
"given": "Aiman S"
},
{
"family": "Liddelow",
"given": "Shane A"
},
{
"family": "Weber",
"given": "Bruno"
}
],
"container-title-short":
"volume": "29",
"issue": "8",
"page": "1826-1840",
"DOI": "10.1038/
"PMID": "42493549",
"PMCID": "PMC13433311",
"ISSN": "1097-6256",
"publisher": "Nature Portfolio",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
7,
23
]
]
}
}
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-025-59400-2 [code]
- Astrocytic GLUT1 deletion in adult mice enhances glucose metabolism and resilience to stroke.Journal: Nature communicationsIn common: mouse, cellular / molecular, 3 references, 4 authors
- [2] doi:10.1073/pnas.2513515123
- ECgo: All-optical induction of single endothelial cell injury and capillary occlusion in the brain.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: mouse, 6 references, 3 authors
- [3] doi:10.1073/pnas.2404203121 [code]
- Spatiotemporal transcriptomic map of glial cell response in a mouse model of acute brain ischemia.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: circlize, clusterProfiler, ComplexHeatmap, 6 other tools, mouse, cellular / molecular, 7 references
- [4] doi:10.1016/j.isci.2026.114674 [code]
- Single-cell transcriptomics revealed molecular vulnerability in a human midbrain-like organoid model of Parkinson's disease.Journal: iScienceIn common: reticulate, circlize, clusterProfiler, 8 other tools, cellular / molecular, 4 references
- [5] doi:10.1016/j.cell.2022.06.008 [code]
- Mild respiratory COVID can cause multi-lineage neural cell and myelin dysregulation.Journal: CellIn common: circlize, clusterProfiler, ComplexHeatmap, 4 other tools, mouse, cellular / molecular, 4 references, author Shane A Liddelow
- [6] doi:10.64898/2025.12.18.695184 [code]
- Coevolution of neoplastic and non-neoplastic reactive astrocyte states converges on mesenchymal-like and injury-response programs during murine glioblastoma progression and post-radiotherapy recurrenceJournal: bioRxiv (preprint)In common: reticulate, circlize, ComplexHeatmap, 5 other tools, mouse, cellular / molecular, 6 references
- [7] doi:10.1038/s44320-024-00074-1 [code]
- High order expression dependencies finely resolve cryptic states and subtypes in single cell data.Journal: Molecular systems biologyIn common: reticulate, circlize, clusterProfiler, 7 other tools, mouse, cellular / molecular, 3 references
- [8] doi:10.1038/s41593-024-01791-4 [code]
- Astrocyte transcriptomic changes along the spatiotemporal progression of Alzheimer's disease.Journal: Nature neuroscienceIn common: circlize, clusterProfiler, ComplexHeatmap, 7 other tools, cellular / molecular, 4 references
- [9] doi:10.1038/s41593-024-01684-6
- Derivation and transcriptional reprogramming of border-forming wound repair astrocytes after spinal cord injury or stroke in mice.Journal: Nature neuroscienceIn common: mouse, cellular / molecular, 12 references
- [10] doi:10.1038/s41467-024-46625-w [code]
- Shared inflammatory glial cell signature after stab wound injury, revealed by spatial, temporal, and cell-type-specific profiling of the murine cerebral cortex.Journal: Nature communicationsIn common: igraph, Seurat, patchwork, 2 other tools, mouse, cellular / molecular, 9 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: 2 repositories of the authors' code, each at its verified commit and with its license, 8 scripts, and 6 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:4f1bc6c4ba493ce6…
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/s41593-026-02354-5)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41593-026-02354-5.svg
:target: https://openscicode.org/badge/doi/10.1038/s41593-026-02354-5
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41593-026-02354-5"><img src="https://openscicode.org/badge/doi/10.1038/s41593-026-02354-5.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.
