Extracellular matrix remodelling in degenerative cervical myelopathy.
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 · 258 lines · 7.8 KB · no license
- #### Packages ####
- library("DESeq2")
- library("affycoretools")
- library("tidyverse")
- library("pheatmap")
- library("dplyr")
- library("biomaRt")
- library("AnnotationDbi")
- library('org.Hs.eg.db')
- library(readxl)
- library(ggplot2)
- library(readxl)
- library(dplyr)
- library(ggpubr)
- library(gridExtra)
- library(keras)
- library(tfdatasets)
- library(tidyverse)
- library(rsample)
- library(rcompanion)
- library(Rmisc)
- library(nnet)
- library(ccoptimalmatch)
- library(MatchIt)
- library(epitools)
- library(optmatch)
- library(gmodels)
- library(ggplot2)
- library(ggpubr)
- library(tidyverse)
- library(broom)
- library(AICcmodavg)
- library(nnet)
- library(performance)
- library(abd)
- library(EpiStats)
- library(knitr)
- library(questionr)
- library(sjPlot)
- library(sjmisc)
- library(sjlabelled)
- library(tidyverse)
- library(finalfit)
- library(purrr)
- library(clipr)
- library(Seurat)
- library(dplyr)
- library(Matrix)
- library(readr)
- library(monocle3)
- library(SeuratWrappers)
- library(SeuratDisk)
- library(celldex)
- library(SingleR)
- library(edgeR)
- library(ComplexHeatmap)
- library(ggsci)
- library(clusterProfiler)
- library(circlize)
- library(GetoptLong)
- library(EnhancedVolcano)
- #### Load data ####
- tpm <- read.csv("/Users/noah/Desktop/ECM Paper Share/Figure 1/Mouse SEQ/Share_RNAseq/mDCM_combined.csv")
- md <- read.csv("/Users/noah/Desktop/ECM Paper Share/Figure 1/Mouse SEQ/Share_RNAseq/SampleList_MouseSeq_DCM.csv")
- metadata <- data.frame(md[,1:4])
- #### Gene lists ####
- matrisome <- read_xlsx("/Users/noah/Desktop/ECM Paper Share/Figure 1/Mouse Seq/matrisome_mouse.xlsx")
- matrisome <- lapply(matrisome, as.character)
- matrisome <- as.data.frame(matrisome)
- matrisome_glyc <- matrisome$ECM_Glycoproteins
- matrisome_Coll <- matrisome$Collagens
- matrisome_Prot <- matrisome$Proteoglycans
- matrisome_Aff <- matrisome$ECM_Affiliated
- matrisome_Reg <- matrisome$ECM_Regulators
- matrisome_all <- matrisome$All
- colnames(matrisome) <- c("GP", "Collagens", "PG", "Affiliated", "Regulators", "Secreted", "All")
- matrisome_long <- matrisome[,1:6]
- matrisome_long <- matrisome_long %>%
- mutate(Row = row_number()) %>%
- pivot_longer(
- cols = -Row,
- names_to = "Class", # New column to store previous column names
- values_to = "Gene" # New column to store values
- )
- bm <- read_xlsx("/Users/noah/Desktop/ECM Paper Share/Figure 1/Mouse SEQ/BM_Genes_mouse.xlsx")
- bm_genes <- bm$Symbol
- #### Subset to protein-coding genes ####
- library(EnsDb.Mmusculus.v79)
- edb <- EnsDb.Mmusculus.v79
- txtypes <- genes(edb, columns=c("gene_name", "gene_biotype", "tx_biotype", "tx_id"))
- protGenes <- genes(edb, filter=GeneBiotypeFilter("protein_coding"))
- PG <- protGenes$gene_name
- PG2 <- protGenes$gene_id
- id_name <- data.frame(PG, PG2)
- tpm <- tpm %>% dplyr::filter(gene_id %in% PG2)
- #### DEG ####
- tpm <- tpm[,-1]
- genelist <- tpm[,1:2]
- cts <- tpm[,3:20]
- rownames(cts) <- tpm[,1]
- group_coarse <- c("SHAM","SHAM","12_DCM","4_DCM","4_DCM","SHAM","12_DCM","12_DCM","4_DCM",
- "SHAM","SHAM","12_DCM","4_DCM","4_DCM","SHAM","12_DCM","12_DCM","4_DCM")
- y <- DGEList(counts = cts, group = group_coarse, genes = genelist)
- dds <- DESeqDataSetFromMatrix(
- countData = cts,
- colData = y$samples,
- design = ~group)
- dds <- DESeq(dds)
- normdds <- vst(dds)
- res <- results(dds, contrast=c("group","4_DCM","SHAM"))
- res <- data.frame(res)
- res$gene_id <- rownames(res)
- res$padj <- p.adjust(res$pvalue, method = "BH")
- res <- merge(res, genelist, by = "gene_id")
- normalized_counts <- data.frame(assay(normdds))
- normalized_counts <- counts(dds, normalized=TRUE)
- normalized_counts <- data.frame(normalized_counts)
- normalized_counts$gene_id <- rownames(normalized_counts)
- colnames(genelist) <- c("gene_id", "gene_name")
- normalized_counts <- merge(normalized_counts, genelist, by = "gene_id")
- up <- dplyr::filter(res, padj <0.05 & log2FoldChange <0)
- down <- dplyr::filter(res, padj <0.05 & log2FoldChange >0)
- #### BM heatmap ####
- library(GetoptLong)
- x = normalized_counts %>% dplyr::filter(gene_name %in% matrisome_all)
- tpm <- x[!duplicated(x$gene_name),]
- rownames(tpm) <- tpm$gene_name
- tpm <- na.omit(tpm)
- x <- tpm[,2:19]
- rownames(x) <- tpm$gene_name
- x <- x[rowSums(x[])>0,]
- x <- as.matrix(x)
- x <- t(scale(t(x), scale = TRUE, center = TRUE))
- order <- c("M1_4W", "M2_4W", "M3_4W", "F4_4W", "F5_4W", "F6_4W",
- "M1_12W", "M2_12W", "M3_12W", "F1_12W", "F2_12W", "F3_12W",
- "M1_SHAM", "M2_SHAM", "M3_SHAM", "F1_SHAM", "F2_SHAM", "F3_SHAM")
- group <- factor(group_coarse, levels = c("4_DCM", "12_DCM", "SHAM"))
- row_split <- matrisome_long$Class[match(rownames(x), matrisome_long$Gene)]
- Heatmap(x,
- name = "Expression",
- column_order = order,
- show_row_names = FALSE,
- cluster_columns = FALSE,
- cluster_column_slices = FALSE,
- column_split = group,
- row_split = row_split,
- show_column_dend = FALSE,
- show_column_names = FALSE,
- column_title = c("DCM-4w", "DCM-12w", "Sham"))
- #### Barplots ####
- ## Filter and prep data
- as_plot <- normalized_counts %>% dplyr::filter(gene_name %in% fibr | gene_name %in% ra_genes | gene_name %in% ba_genes)
- as_plot <- data.frame(as_plot)
- as_plot <- t(as_plot)
- as_plot_b <- data.frame(as_plot)
- as_plot_b$animals <- rownames(as_plot_b)
- write_csv(as_plot_b, "toplotgp5.csv")
- as_plot <- normalized_counts %>% dplyr::filter(gene_name %in% bm_genes)
- as_plot <- data.frame(as_plot)
- as_plot <- t(as_plot)
- as_plot_b <- data.frame(as_plot)
- as_plot_b$animals <- rownames(as_plot_b)
- write_csv(as_plot_b, "toplotgp6.csv")
- #### PCA ####
- vsd <- vst(dds, blind=FALSE)
- plotPCA(vsd, intgroup=c("group"))
- x <- normalized_counts[,2:19]
- x<- x[rowSums(x[])>300,]
- xa <- as.matrix(x)
- xb <- t(xa)
- xb <- xb[, colSums(xb != 0) > 0]
- pca <- t(xa)
- pca <- data.frame(pca)
- pca$group_coarse <- c("SHAM","SHAM","12_DCM","4_DCM","4_DCM","SHAM","12_DCM","12_DCM","4_DCM",
- "SHAM","SHAM","12_DCM","4_DCM","4_DCM","SHAM","12_DCM","12_DCM","4_DCM")
- pcax <- subset(pca, select = -c(group_coarse))
- pca_res <- prcomp(xb, scale. = TRUE)
- library(ggfortify)
- autoplot(pca_res, data = pca, colour = c("group_coarse"), size = 3) + theme_bw() +
- scale_color_npg() + scale_fill_npg() + guides(size = "none")
- #### Volcano plots ####
- res <- res %>%
- mutate(Expression = case_when(log2FoldChange >= log(2) & padj <= 0.05 ~ "Up-regulated",
- log2FoldChange <= -log(2) & padj <= 0.05 ~ "Down-regulated",
- TRUE ~ "Unchanged"))
- top <- 12
- top_genes <- bind_rows(
- res %>%
- dplyr::filter(Expression == 'Up-regulated') %>%
- arrange(padj, desc(abs(log2FoldChange))) %>%
- head(top),
- res %>%
- dplyr::filter(Expression == 'Down-regulated') %>%
- arrange(padj, desc(abs(log2FoldChange))) %>%
- head(top))
- res <- na.omit(res)
- ggplot(res, aes(log2FoldChange, -log(padj, 10))) +
- geom_point(aes(color = Expression), size = 2/5) +
- scale_color_manual(values = c("dodgerblue3", "gray50", "firebrick3")) +
- xlab(expression("log"[2]*"FC")) +
- ylab(expression("-log"[10]*"PValue")) +
- theme_pubr() + theme(legend.position="none") +
- geom_label_repel(data = top_genes, mapping = aes(log2FoldChange, -log(padj,10),
- label = Gene_name.x),size = 6,max.overlaps = 30)
- #### GO ####
- library(org.Mm.eg.db)
- gene_list <- dplyr::filter(res, padj <0.05, log2FoldChange <0)
- entrez_ids <- bitr(gene_list$gene_id, fromType = "ENSEMBL", toType = "ENTREZID", OrgDb = org.Mm.eg.db)
- ego <- enrichGO(gene = entrez_ids$ENTREZID,
- OrgDb = org.Mm.eg.db,
- keyType = "ENTREZID",
- ont = "CC",
- pAdjustMethod = "BH",
- pvalueCutoff = 0.05,
- qvalueCutoff = 0.05,
- readable = TRUE)
- ego_simplified <- simplify(ego, cutoff = 0.8, by = "p.adjust", select_fun = min)
- barplot(ego_simplified, showCategory = 5) + theme(legend.position="none") +
- theme(panel.grid.minor = element_blank(), panel.grid.major = element_blank())
MouseSeq_DCM_Github.R at commit 37af289, no license · at the source
Overview
- Department of Clinical Neurosciences, University of Cambridge, Cambridge CB2 0QQ, UK
- Welcome-MRC Cambridge Stem Cell Institute, Cambridge CB2 0AW, UK
- Division of Genetics and Development, Krembil Research Institute, University Health Network, Toronto, Canada M5T 2S8
- Division of Neurosurgery and Spine Program, Department of Surgery, University of Toronto, Toronto, Canada M5T 1P5
Abstract
Degenerative cervical myelopathy (DCM), a type of spinal cord injury triggered by chronic compression from degenerative changes of the spine, induces pathophysiological changes similar to traumatic spinal cord injury, including reactive gliosis, demyelination and neuron loss. However, the effects of chronic spinal cord compression on extracellular matrix composition and organization remain uncharacterized.
Here, we analyse untreated post-mortem human tissue and a mouse model of chronic spinal cord compression using immunohistochemical and transcriptomic approaches to assess chondroitin sulphate proteoglycan (CSPG) and fibrosis-related matrix deposition.
In human post-mortem tissue, astrogliosis, CSPG accumulation and fibrotic collagen deposition were elevated in the DCM cases (n = 7) compared to controls (n = 5), though gliosis and fibrosis-related matrix deposition were not significantly associated with the degree of cord compression. The mouse model, however, demonstrated more distinct border-forming astrocyte phenotypes. Transcriptional and histological markers of vascular and interstitial fibrosis were also significantly increased in the mouse model.
These findings demonstrate that astroglial CSPG deposition and fibrotic scarring occur in DCM, albeit potentially in a more diffuse pattern than in traumatic spinal cord injury. Moreover, this study supports previous observations of vascular fibrotic thickening in DCM.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above.
noahdavidpoulin/ECM-in-DCM
37af289a2069a470e8fe9ab6f3382060685a1df1, 30 January 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
1 file
- MouseSeq_DCM_Github.R, R, 258 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 1 script, each with its path and the digest of its content;
- no match between paragraphs and code yet;
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability
Transcriptomic data generated in this study are available as raw counts. Code associated with data analysis is available at https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 5 keywords, 47 references.
Cite
This paper
Poulin, N. D., Brockie, S., Baranes, K., Hong, J., Zhou, C., Sadat, S., Kotter, M. R., & Fehlings, M. G. (2026). Extracellular matrix remodelling in degenerative cervical myelopathy. Brain communications, 8(4), fcag239. https://
BibTeX
@article{poulin2026extra
author = {Poulin, Noah D and Brockie, Sydney and Baranes, Koby and Hong, James and Zhou, Cindy and Sadat, Sarah and Kotter, Mark R and Fehlings, Michael G},
title = {{Extracellular matrix remodelling in degenerative cervical myelopathy}},
journal = {Brain communications},
year = {2026},
month = jul,
volume = {8},
number = {4},
pages = {fcag239},
publisher = {Oxford University Press},
issn = {2632-1297},
doi = {10.1093/
url = {https://
pmid = {42494494},
pmcid = {PMC13392463}
}
RIS
TY - JOUR
AU - Poulin, Noah D
AU - Brockie, Sydney
AU - Baranes, Koby
AU - Hong, James
AU - Zhou, Cindy
AU - Sadat, Sarah
AU - Kotter, Mark R
AU - Fehlings, Michael G
TI - Extracellular matrix remodelling in degenerative cervical myelopathy
T2 - Brain communications
J2 - Brain Commun
PY - 2026
DA - 2026/
VL - 8
IS - 4
SP - fcag239
SN - 2632-1297
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Extracellular matrix remodelling in degenerative cervical myelopathy",
"container-title": "Brain communications",
"author": [
{
"family": "Poulin",
"given": "Noah D"
},
{
"family": "Brockie",
"given": "Sydney"
},
{
"family": "Baranes",
"given": "Koby"
},
{
"family": "Hong",
"given": "James"
},
{
"family": "Zhou",
"given": "Cindy"
},
{
"family": "Sadat",
"given": "Sarah"
},
{
"family": "Kotter",
"given": "Mark R"
},
{
"family": "Fehlings",
"given": "Michael G"
}
],
"container-title-short":
"volume": "8",
"issue": "4",
"page": "fcag239",
"DOI": "10.1093/
"PMID": "42494494",
"PMCID": "PMC13392463",
"ISSN": "2632-1297",
"publisher": "Oxford University Press",
"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/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: Monocle 3, edgeR, broom, 9 other tools, mouse
- [2] doi:10.1038/s41586-025-10047-5 [code]
- Developmental convergence and divergence in human stem cell models of autism.Journal: NatureIn common: Monocle 3, edgeR, broom, 9 other tools
- [3] 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: Monocle 3, edgeR, broom, 9 other tools
- [4] doi:10.1038/s41586-026-10214-2 [code]
- Multidimensional profiling of heterogeneity in supratentorial ependymomas.Journal: NatureIn common: Monocle 3, edgeR, circlize, 8 other tools, mouse
- [5] doi:10.1038/s42003-025-09115-3 [code]
- Characterizing and decoding ultraconserved regions uncovers their regulatory significance in human brain development and disorders.Journal: Communications biologyIn common: Monocle 3, edgeR, circlize, 8 other tools, mouse
- [6] doi:10.1002/imt2.70163 [code]
- Spatial multi-omics unveils sphingolipid metabolic reprogramming within the retinal pathological niche.Journal: iMetaIn common: Monocle 3, edgeR, circlize, 8 other tools, mouse
- [7] 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 neuroscienceIn common: Monocle 3, edgeR, circlize, 8 other tools
- [8] doi:10.1016/j.xcrm.2026.102766 [code]
- A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.Journal: Cell reports. MedicineIn common: Monocle 3, edgeR, circlize, 8 other tools
- [9] doi:10.1038/s41467-026-69944-6 [code]
- Multi-modal dissection of cell-type specific TDP-43 pathology in the motor cortex.Journal: Nature communicationsIn common: Monocle 3, easystats, circlize, 8 other tools
- [10] doi:10.7554/elife.109104 [code]
- Complementary vertebrate &
lt;i& gt;Wac& lt;/ i& gt; models exhibit phenotypes relevant to DeSanto-Shinawi Syndrome. Journal: eLifeIn common: Monocle 3, edgeR, circlize, 7 other tools, mouse
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, 1 script, and 0 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:85605d3927bfec96…
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.1093/braincomms/fcag239)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1093/braincomms/fcag239.svg
:target: https://openscicode.org/badge/doi/10.1093/braincomms/fcag239
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1093/braincomms/fcag239"><img src="https://openscicode.org/badge/doi/10.1093/braincomms/fcag239.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.
