OSCR

Differential gene regulatory network analysis reveals transcriptional disruption in opioid.

Code ↔ Paper

6 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 6 matches
  1. [1] § Results › Transcription factor-level network disruption in OUD data set (astrocyte) › Functional enrichment and biological relevance of identified TFs ↔ gsea2.R, lines 41 to 120 · score 0.99 · normalized enrichment scores, Post translational Protein, Extracellular Matrix Organization, Elevated Platelet Cytosolic, Platelet Degranulation, Laminin Interactions · Report a mismatch
  2. [2] § Results › Transcription factor-level network disruption in OUD data set (astrocyte) › Functional enrichment and biological relevance of identified TFs ↔ gsea2.R, lines 41 to 120 · score 0.96 · post translational protein, Cellular Senescence, ERK signaling, Cellular Responses, Cell Cycle, Neuronal System · Report a mismatch
  3. [3] § Results › Transcription factor-level network disruption in OUD data set (astrocyte) › Functional enrichment and biological relevance of identified TFs ↔ gsea2.R, lines 1 to 39 · score 0.89 · Interferon Gamma Signaling, Elevated Platelet Cytosolic, Platelet Degranulation, Immune System, Platelet Activation, Cytokine Signaling · Report a mismatch
  4. [4] § Results › Simulation studies ↔ simulation_plot.R, lines 1 to 46 · score 0.67 · PCA score, Local_U, Global_F, Global_U, simulation, distance · Report a mismatch
  5. [5] § Materials and methods › Application to real datasets › Statistical testing on TF activity matrices ↔ simulation_plot.R, lines 1 to 46 · score 0.60 · Local_U, Global_F, Global_U, score, permutation, PCA · Report a mismatch
  6. [6] § Results › Transcription factor-level network disruption in OUD data set (astrocyte) › Dissecting TF–Target relationships by differential expression categories ↔ gene_expression.R, lines 1 to 88 · score 0.53 · gene expression, STAT5A, SERPINA3, Violin, SOCS3, ATF3 · 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 · 121 lines · 4.2 KB · no license · 3 matches

  1. # ===== Libraries =====
  2. library(tidyverse)
  3. library(forcats)
  4. library(ggtext)
  5. # ===== Load your GSEA results =====
  6. gsea <- read_csv("~/Desktop/Lab/celloracle/scortch/gsea_results_reactome_astrocyte/gseapy.gene_set.prerank.report.csv")
  7. # Filter significant rows and handle Gene %
  8. gsea_sig <- gsea %>%
  9. mutate(Gene_percent = as.numeric(gsub("%", "", `Gene %`))) %>%
  10. filter(`FDR q-val` < 0.1, !is.na(NES))
  11. # ===== Selected 25 pathways =====
  12. selected_terms <- c(
  13. "Signaling by NOTCH",
  14. "Signaling by ERBB4",
  15. "Nuclear Events (Kinase and Transcription Factor Activation)",
  16. "Response to Elevated Platelet Cytosolic Ca2+",
  17. "Platelet Degranulation",
  18. "Post-translational Protein Phosphorylation",
  19. "Laminin Interactions",
  20. "Extracellular Matrix Organization",
  21. "Integrin Cell Surface Interactions",
  22. "Cell Cycle, Mitotic",
  23. "Cytokine Signaling in Immune System",
  24. "Neuronal System",
  25. "Signaling by NTRKs",
  26. "Stimuli-sensing Channels",
  27. "Fc Epsilon Receptor (FCERI) Signaling",
  28. "Cellular Responses to Stress",
  29. "Cellular Senescence",
  30. "Immune System",
  31. "Regulation of IGF Transport and Uptake by Insulin-like Growth Factor Binding Proteins (IGFBPs)",
  32. "Interferon Gamma Signaling",
  33. "Platelet Activation, Signaling and Aggregation",
  34. "Signaling by Interleukins",
  35. "Interleukin-4 and Interleukin-13 Signaling"
  36. )
  37. # ===== Filter and simplify labels =====
  38. plot_data <- gsea_sig %>%
  39. filter(Term %in% selected_terms) %>%
  40. mutate(
  41. Term_simple = Term,
  42. Term_simple = str_replace_all(
  43. Term_simple,
  44. "Regulation of IGF Transport and Uptake by Insulin-like Growth Factor Binding Proteins \\(IGFBPs\\)",
  45. "IGF Transport & Uptake (IGFBPs)"
  46. )
  47. )
  48. # ===== Assign categories =====
  49. plot_data <- plot_data %>%
  50. mutate(Category = case_when(
  51. Term %in% c(
  52. "Signaling by NOTCH","Signaling by ERBB4","Nuclear Events (Kinase and Transcription Factor Activation)",
  53. "Post-translational Protein Phosphorylation","Cellular Responses to Stress","Cellular Senescence",
  54. "Signaling by NTRKs","Stimuli-sensing Channels","Neuronal System","Cell Cycle, Mitotic"
  55. ) ~ "MAPK/ERK Signaling",
  56. Term %in% c(
  57. "Cytokine Signaling in Immune System","Immune System","Signaling by Interleukins",
  58. "Interleukin-4 and Interleukin-13 Signaling","Interferon Gamma Signaling",
  59. "Fc Epsilon Receptor (FCERI) Signaling","Platelet Activation, Signaling and Aggregation",
  60. "Platelet Degranulation","Response to Elevated Platelet Cytosolic Ca2+"
  61. ) ~ "Cytokine Signaling",
  62. Term %in% c(
  63. "Laminin Interactions","Extracellular Matrix Organization",
  64. "Integrin Cell Surface Interactions",
  65. "Regulation of IGF Transport and Uptake by Insulin-like Growth Factor Binding Proteins (IGFBPs)"
  66. ) ~ "ECM Remodeling",
  67. TRUE ~ "Other"
  68. ))
  69. # ===== Category colors for labels =====
  70. cat_colors <- c(
  71. "MAPK/ERK Signaling" = "#E41A1C",
  72. "Cytokine Signaling" = "#377EB8",
  73. "ECM Remodeling" = "#4DAF4A",
  74. "Other" = "#984EA3"
  75. )
  76. # ===== Build colored term labels =====
  77. plot_data <- plot_data %>%
  78. mutate(
  79. Term_colored = paste0("<span style='color:", cat_colors[Category], "'>", Term_simple, "</span>"),
  80. # custom ordering: sort by Category order, then Term within category
  81. Category = factor(Category, levels = c("MAPK/ERK Signaling", "Cytokine Signaling", "ECM Remodeling", "Other"))
  82. ) %>%
  83. arrange(Category, Term_simple) %>%
  84. mutate(
  85. Term_colored = factor(Term_colored, levels = unique(Term_colored)),
  86. FDR_adj = `FDR q-val` + 1e-3,
  87. neglogFDR = pmin(-log10(FDR_adj), 1.5) # cap at 10
  88. )
  89. # ===== Plot =====
  90. png("selected_reactome_pathways_termcolored_sorted.png", res = 300, width = 2500, height = 2000)
  91. ggplot(plot_data, aes(
  92. x = NES,
  93. y = Term_colored,
  94. size = Gene_percent,
  95. color = neglogFDR
  96. )) +
  97. geom_point() +
  98. scale_size(range = c(3, 9)) +
  99. scale_color_gradient(low = "blue", high = "red",name = "-log(p_adj)") + # no legend
  100. labs(
  101. #title = "Selected Reactome Pathway Enrichment",
  102. x = "Normalized Enrichment Score (NES)",
  103. y = NULL,
  104. size = "Gene % Affected"
  105. ) +
  106. theme_minimal(base_size = 14) +
  107. theme(
  108. panel.grid.major.y = element_blank(),
  109. axis.text.y = element_markdown(size = 10),
  110. legend.position = "right"
  111. )
  112. dev.off()

gsea2.R at commit fa01466, no license · at the source

Overview

Authors: Jianlan Ren1, Xu Wang2, Feiyang Luan1, Yeqing Chen1, Le Gao1, Wenzhe Ho2, Zhi Wei1
  1. Department of Computer Science, New Jersey Institute of Technology, Newark, New Jersey, 07102, United States
  2. Department of Pathology and Laboratory Medicine, Temple University Lewis Katz School of Medicine, Philadelphia, Pennsylvania, 19140, United States
Institutions: New Jersey Institute of Technology (United States); Temple University (United States)
Journal: NAR genomics and bioinformatics, volume 8, issue 2, article lqag031
Dates: received 1 December 2025; accepted 23 February 2026; published online 27 March 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1093/nargab/lqag031 · PMID 42064781 · PMCID PMC13126120 · OpenAlex W7141703947
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: human (organism), pain (population), cellular / molecular (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Connectivity
MeSH: Analgesics, Opioid*, Brain*, Gene Regulatory Networks*, Transcription Factors*, Astrocytes, Gene Expression Regulation, Humans, Single-Cell Gene Expression Analysis, Statistics, Nonparametric (* major topic)
Topic: Single-cell and spatial transcriptomics (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: NIGMS NIH HHS (R35 GM158529); NIDA NIH HHS (R01 DA058536); National Institutes of Health (R35GM158529, P01CA281867, R15HG012087, UM1TR004789); NHGRI NIH HHS (R15 HG012087)
Citations: not cited yet (Europe PMC); 49 references in the paper

Abstract

Gene regulatory networks (GRNs) inferred from single-cell data offer a powerful lens for dissecting transcriptional regulation across biological conditions. Yet, statistical methods for comparing TF-level binary regulatory matrices—where edges represent the presence or absence of regulation—remain underdeveloped. Here, we introduce and benchmark five complementary statistical tests for group-level comparison of TF-level binary regulatory matrices. These include three global methods—a U-statistic-based dissimilarity test (Global_U), a distance-based pseudo- test (Global_F), and a PCA-based test—as well as two feature-level approaches: a per-feature U-test (Local_U) and Fisher’s exact test. Through extensive simulations spanning sparse, coordinated, balanced, and noisy signal structures, we show that global methods consistently outperform in detecting distributed regulatory shifts, particularly under correlation or noise. Applying this framework to single-nucleus RNA-seq data from human brain donors, we uncover astrocyte-specific regulatory alterations linked to opioid exposure. While each method captures distinct signal types, our results underscore the value of combining global and local tests to enhance sensitivity and interpretability. This unified framework provides a robust statistical foundation for GRN-based comparisons in single-cell studies.

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.

jianlan0816/U-test-based-GRN

License: none: the authors keep all their rights
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: fa0146686c28381f2c2e6b1288b9e71f5fce32cd, 12 December 2025
Languages: R (5), Python (2)
Size: 8 files, 7 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (5 files), ggplot2 (3 files), patchwork (3 files), NumPy (2 files), pandas (2 files), Matplotlib (1 file), scikit-learn (1 file), SciPy (1 file), seaborn (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
8 files

Zenodo 17915951

License: CC-BY-4.0
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (5 files), ggplot2 (3 files), patchwork (3 files), NumPy (2 files), pandas (2 files), Matplotlib (1 file), scikit-learn (1 file), SciPy (1 file), seaborn (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
  • 30 September 2026: the link answers (HTTP 200)
8 files

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 14 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

Data availability

All analysis scripts are available at https://github.com/jianlan0816/U-test-based-GRN and https://doi.org/10.5281/zenodo.17915951. The snRNA-seq dataset analyzed in this study was obtained from the NCBI Gene Expression Omnibus (GEO) under accession number GSE240457 (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE240457).

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, 30 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 7 authors, 9 MeSH terms, 4 funders, 43 references.

Cite

This paper

Ren, J., Wang, X., Luan, F., Chen, Y., Gao, L., Ho, W., & Wei, Z. (2026). Differential gene regulatory network analysis reveals transcriptional disruption in opioid. NAR genomics and bioinformatics, 8(2), lqag031. https://doi.org/10.1093/nargab/lqag031

BibTeX

@article{ren2026differential,
author = {Ren, Jianlan and Wang, Xu and Luan, Feiyang and Chen, Yeqing and Gao, Le and Ho, Wenzhe and Wei, Zhi},
title = {{Differential gene regulatory network analysis reveals transcriptional disruption in opioid}},
journal = {NAR genomics and bioinformatics},
year = {2026},
month = mar,
volume = {8},
number = {2},
pages = {lqag031},
publisher = {Oxford University Press},
issn = {2631-9268},
doi = {10.1093/nargab/lqag031},
url = {https://doi.org/10.1093/nargab/lqag031},
pmid = {42064781},
pmcid = {PMC13126120}
}

RIS

TY - JOUR
AU - Ren, Jianlan
AU - Wang, Xu
AU - Luan, Feiyang
AU - Chen, Yeqing
AU - Gao, Le
AU - Ho, Wenzhe
AU - Wei, Zhi
TI - Differential gene regulatory network analysis reveals transcriptional disruption in opioid
T2 - NAR genomics and bioinformatics
J2 - NAR Genom Bioinform
PY - 2026
DA - 2026/03/27
VL - 8
IS - 2
SP - lqag031
SN - 2631-9268
PB - Oxford University Press
DO - 10.1093/nargab/lqag031
UR - https://doi.org/10.1093/nargab/lqag031
LA - en
ER -

CSL-JSON

{
"id": "10.1093/nargab/lqag031",
"type": "article-journal",
"title": "Differential gene regulatory network analysis reveals transcriptional disruption in opioid",
"container-title": "NAR genomics and bioinformatics",
"author": [
{
"family": "Ren",
"given": "Jianlan"
},
{
"family": "Wang",
"given": "Xu"
},
{
"family": "Luan",
"given": "Feiyang"
},
{
"family": "Chen",
"given": "Yeqing"
},
{
"family": "Gao",
"given": "Le"
},
{
"family": "Ho",
"given": "Wenzhe"
},
{
"family": "Wei",
"given": "Zhi"
}
],
"container-title-short": "NAR Genom Bioinform",
"volume": "8",
"issue": "2",
"page": "lqag031",
"DOI": "10.1093/nargab/lqag031",
"PMID": "42064781",
"PMCID": "PMC13126120",
"ISSN": "2631-9268",
"publisher": "Oxford University Press",
"URL": "https://doi.org/10.1093/nargab/lqag031",
"language": "en",
"issued": {
"date-parts": [
[
2026,
3,
27
]
]
}
}

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/s41592-023-01938-4 [code]
SCENIC+: single-cell multiomic inference of enhancers and gene regulatory networks.
Journal: Nature methods
In common: patchwork, ggplot2, seaborn, 6 other tools, cellular / molecular, 4 references
[2] doi:10.1016/j.xcrm.2026.102766 [code]
A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.
Journal: Cell reports. Medicine
In common: patchwork, ggplot2, seaborn, 6 other tools, cellular / molecular, 3 references
[3] doi:10.1038/s41467-025-56533-2 [code]
Atlas of multilineage stem cell differentiation reveals TMEM88 as a developmental regulator of blood pressure.
Journal: Nature communications
In common: patchwork, ggplot2, seaborn, 6 other tools, 3 references
[4] doi:10.1038/s41586-024-07109-5 [code]
A concerted neuron-astrocyte program declines in ageing and schizophrenia.
Journal: Nature
In common: ggplot2, seaborn, tidyverse, 5 other tools, cellular / molecular, 4 references
[5] doi:10.1038/s41586-026-10629-x [code]
Whole-genome duplication shaped cell-type evolution in the vertebrate brain.
Journal: Nature
In common: patchwork, ggplot2, seaborn, 6 other tools, cellular / molecular, 2 references
[6] doi:10.1016/j.celrep.2024.115149 [code]
Single-nucleus and spatial landscape of the sub-ventricular zone in human glioblastoma.
Journal: Cell reports
In common: patchwork, ggplot2, seaborn, 6 other tools, cellular / molecular, 2 references
[7] doi:10.1038/s41586-024-07606-7 [code]
Single-cell multiregion dissection of Alzheimer's disease.
Journal: Nature
In common: patchwork, ggplot2, seaborn, 6 other tools, cellular / molecular, 2 references
[8] doi:10.1038/s41467-024-45165-7 [code]
Single nuclei transcriptomics in human and non-human primate striatum in opioid use disorder.
Journal: Nature communications
In common: patchwork, ggplot2, seaborn, 4 other tools, pain, cellular / molecular, 3 references
[9] doi:10.1016/j.neuron.2025.09.022 [code]
Integrated omics reveals disease-associated radial glia-like cells with epigenetically dysregulated interferon response in multiple sclerosis.
Journal: Neuron
In common: ggplot2, seaborn, tidyverse, 4 other tools, cellular / molecular, 3 references
[10] doi:10.1038/s41467-025-67931-x [code]
Splice isoform-perturbation coupled to single cell transcriptome profiling reveals functions of microexons in neurogenesis and autism-linked pathways.
Journal: Nature communications
In common: patchwork, ggplot2, seaborn, 6 other tools, 2 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1093/nargab/lqag031.svg)](https://openscicode.org/badge/doi/10.1093/nargab/lqag031)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1093/nargab/lqag031.svg
   :target: https://openscicode.org/badge/doi/10.1093/nargab/lqag031
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1093/nargab/lqag031"><img src="https://openscicode.org/badge/doi/10.1093/nargab/lqag031.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.