GABA signaling in NG2 glia mediates empathy-like behavior under observational social defeat.
The 1 match
- [1] § Methods › Single cell RNA-seq ↔ Figure7/Script.R, lines 1–39 · score 0.91 · FindVariableFeatures, NormalizeData, RunPCA, ScaleData, Seurat, matrix
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
R · 171 lines · 6.8 KB · no license · 1 match
- #安装包
- install.packages('Seurat')
- install.packages(c('dplyr','patchwork'))
- install.packages('BiocManager')
- BiocManager::install('scater')
- install.packages('ggplot2')
- #加载包
- library(Seurat)
- library(dplyr)
- library(patchwork)
- library(cowplot)
- library(tidyverse)
- library(ggplot2)
- #导入数据
- pbmc.data <- Read10X(data.dir = "F:/MeA 10X/outs/filtered_feature_bc_matrix")
- #min.cells = 3
- #min.features = 200
- pbmc <- CreateSeuratObject(counts = pbmc.data, project = "pbmc3k", min.cells = 3, min.features = 200)
- pbmc[["percent.mt"]] <- PercentageFeatureSet(pbmc, pattern = "^MT-")
- VlnPlot(pbmc, features = c("nFeature_RNA", "nCount_RNA", "percent.mt"), ncol = 3)
- pbmc <- subset(pbmc, subset = nFeature_RNA > 200 & nFeature_RNA < 2500 & percent.mt < 5)
- pbmc <-NormalizeData(pbmc, normalization.method = "LogNormalize", scale.factor = 10000)
- pbmc <- FindVariableFeatures(pbmc, selection.method = "vst", nfeatures = 2000)
- head(pbmc)
- #提取表达量变化最显著的10个基因,用于PCA
- top10 <- head(VariableFeatures(pbmc), 10)
- #可视化高变基因
- plot1 <- VariableFeaturePlot(pbmc)
- plot2 <- LabelPoints(plot = plot1, points = top10, repel = TRUE)
- plot1 + plot2
- #归一化处理
- all.genes <- rownames(pbmc)
- pbmc <- ScaleData(pbmc, features = all.genes)
- #PCA降维聚类
- pbmc <- RunPCA(pbmc, features = VariableFeatures(object = pbmc))
- ElbowPlot(pbmc)
- #可视化umap
- pbmc <- FindNeighbors(pbmc, dims = 1:20)
- pbmc <- FindClusters(pbmc, resolution = 0.3)
- pbmc <- RunUMAP(pbmc, dims = 1:20)
- p1 <-DimPlot(pbmc, reduction = "umap")
- p1
- #可视化T-SNE
- pbmc <- RunTSNE(pbmc, dims = 1:20)
- p2 <- DimPlot(pbmc, reduction = "tsne")
- p2
- #找marker基因
- markers <- FindAllMarkers(pbmc, logfc.threshold = 0.25, min.pct = 0.1,
- only.pos = TRUE, pbmc = "wilcox")
- pbmc.markers<-markers %>% group_by(cluster) %>% top_n(n = 30, wt = avg_log2FC)
- #自动区分聚类
- library(celldex)
- library(SingleR)
- library(scater)
- library(SummarizedExperiment)
- #存储对比用小鼠数据库
- Mouse.brain <- MouseRNAseqData()
- save(Mouse.brain,file="F:/hip 10X mice+egfp/R/Mouse.brain.RData")
- yes
- test.seu<-pbmc
- test.count=as.data.frame(test.seu[["RNA"]]@counts)
- load(file="Mouse.brain.RData")
- common_mouse <- intersect(rownames(test.count), rownames(Mouse.brain))
- Mouse.brain <- Mouse.brain[common_mouse,]
- test.count_forhpca <- test.count[common_mouse,]
- test.count_forhpca.se <- SummarizedExperiment(assays=list(counts=test.count_forhpca))
- test.count_forhpca.se <- logNormCounts(test.count_forhpca.se)
- pred.main.mouse <- SingleR(test = test.count_forhpca.se, ref = Mouse.brain, labels = Mouse.brain$label.main)
- result_main_mouse <- as.data.frame(pred.main.mouse$labels)
- result_main_mouse$CB <- rownames(pred.main.mouse)
- colnames(result_main_mouse) <- c('MOUSE_Main', 'CB')
- write.table(result_main_mouse, file = "MOUSE_Main.txt", sep = '\t', row.names = FALSE, col.names = TRUE, quote = FALSE)
- head(result_main_mouse)
- [email hidden]$CB=rownames([email hidden])
- [email hidden]=merge([email hidden],result_main_mouse,by="CB")
- rownames([email hidden])=[email hidden]$CB
- p5 <- DimPlot(test.seu, reduction = "tsne", group.by = "MOUSE_Main", pt.size=0.5)+theme(
- axis.line = element_blank(),
- axis.ticks = element_blank(),axis.text = element_blank()
- )
- p6 <- DimPlot(test.seu, reduction = "tsne", group.by = "ident", pt.size=0.5, label = TRUE,repel = TRUE)+theme(
- axis.line = element_blank(),
- axis.ticks = element_blank(),axis.text = element_blank()
- )
- fig_tsne <- plot_grid(p6, p5, labels = c('ident','MOUSE_Main'),rel_widths = c(2,3))
- ggsave(filename = "tsne4.pdf", plot = fig_tsne, device = 'pdf', width = 36, height = 12, units = 'cm')
- #作图
- Oligodendrocyte_progenitor_cells=c(0,1,2)
- Oligodendrocyte_cells=c(3)
- Endothelial_cells=c(4)
- Fibroblasts=c(5)
- Macrophages=c(6)
- Neutrophils=c(7)
- Astrocytes=c(8)
- Oligodendrocyte_Astrocytes=c(9)
- Pericytes=c(10)
- current.cluster.ids <- c(Oligodendrocyte_progenitor_cells,
- Oligodendrocyte_cells,
- Endothelial_cells,
- Fibroblasts,
- Macrophages,
- Neutrophils,
- Astrocytes,
- Oligodendrocyte_Astrocytes,
- Pericytes)
- new.cluster.ids <- c(rep("Oligodendrocyte progenitor cells",length(Oligodendrocyte_progenitor_cells)),
- rep("Oligodendrocyte cells",length(Oligodendrocyte_cells)),
- rep("Endothelial cells",length(Endothelial_cells)),
- rep("Fibroblasts",length(Fibroblasts)),
- rep("Macrophages",length(Macrophages)),
- rep("Neutrophils",length(Neutrophils)),
- rep("Astrocytes",length(Astrocytes)),
- rep("Oligodendrocyte/Astrocytes",length(Oligodendrocyte_Astrocytes)),
- rep("Pericytes",length(Pericytes))
- )
- [email hidden]$celltype <- plyr::mapvalues(x = as.integer(as.character([email hidden]$seurat_clusters)), from = current.cluster.ids, to = new.cluster.ids)
- head([email hidden])
- table([email hidden]$celltype)
- [email hidden]$celltype<-factor([email hidden]$celltype,level=c("Oligodendrocyte progenitor cells",
- "Oligodendrocyte cells",
- "Oligodendrocyte/Astrocytes",
- "Astrocytes",
- "Endothelial cells",
- "Pericytes",
- "Fibroblasts",
- "Macrophages",
- "Neutrophils"))
- plotCB=as.data.frame([email hidden]%>%filter(seurat_clusters!="5" & seurat_clusters!="6"& seurat_clusters!="7"))[,"CB"]
- DimPlot(test.seu, reduction = "tsne",group.by = "celltype", pt.size=0.3,cells = plotCB,)
- ggsave("tense.png",units = "cm",width = 18,height = 10,dpi=1000,bg = "white")
- saveRDS(test.seu,file = "test.seu.rds") #保存test.seu
- gene <-read.table("F:/hip 10X mice+egfp/R/gene.txt")
- gene <- c("Pdgfra","Pebp1","Oxt","Gpr17","Uchl1","Agrp","Cpt1a","Stat3","Lepr","Cck","Nr4a3")
- gene_jyj <- c("Kcnj13","Kcnj10","Kcnj8","Kcnj3","Kcnj9","Kcnj16")
- test.seu1<-test.seu
- [email hidden]<-filter([email hidden],seurat_clusters!="5" & seurat_clusters!="6"& seurat_clusters!="7")
- DotPlot(test.seu,features = gene_jyj,group.by = "celltype")+
- scale_size()
- ggsave("dotplot.png",units = "cm",width = 25,height = 10,dpi=1000,bg = "white")
- FeaturePlot(test.seu,features = "Pdgfra",reduction = "tsne",pt.size = 1,cells = plotCB)+
- scale_
Script.R at commit 552b82d, no license · at the source
Overview
- Department of Obstetrics and Gynecology, Songjiang Research Institute, Shanghai Key Laboratory of Emotions and Affective Disorders, Songjiang Hospital Affiliated to Shanghai Jiao Tong University School of Medicine, Shanghai, China
- Department of Anatomy and Physiology, Shanghai Jiao Tong University School of Medicine, Shanghai, China
- Institute of Neuroscience, Key Laboratory of Molecular Neurobiology of Ministry of Education and the Collaborative Innovation Center for Brain Science, SMMU, Shanghai, China
- Songjiang Research Institute, Shanghai Key Laboratory of Emotions and Affective Disorders, Shanghai Jiao Tong University School of Medicine, Shanghai, China
- Department of Physiology, Jiaxing University College of Medicine, Jiaxing, Zhejiang China
- Liangzhu Laboratory, MOE Frontier Science Center for Brain Science & Brain-Machine Integration, State Key Laboratory of Brain-Machine Intelligence, Zhejiang University, Hangzhou, Zhejiang China
- Shanghai Research Center for Brain Science and Brain-Inspired Intelligence, Shanghai, China
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.
Repositories
Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.
aedasc/25-MeA-RNAseq-Analysis
552b82d86f6d2afd77aeb4a87a3f938cb8aecf6e, 8 February 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
3 files
- Figure5/
RNAseq.R , R, 139 lines - Figure7/
Script.R , R, 171 lines, 1 match - README.md, Text, 5 lines
Zenodo 19363737
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
3 files
- Figure5/
RNAseq.R , R, 139 lines - Figure7/
Script.R , R, 171 lines - README.md, Text, 5 lines
Code availability statement
The paper has a code 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 the authors' code: aedasc/
25-MeA-RNAseq-Analysis , Zenodo 19363737
Read it in the paper: doi.org/10.1038/s41467-026-73488-0.
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;
- 4 scripts, each with its path and the digest of its content;
- 1 match 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
- bioproject:PRJNA1262306, at NCBI BioProject; found in “Data availability”
- bioproject:PRJNA1266598, at NCBI BioProject; 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 2 datasets: NCBI BioProject PRJNA1262306, NCBI BioProject PRJNA1266598
- it points to the authors' code: aedasc/
25-MeA-RNAseq-Analysis , Zenodo 19363737
Read it in the paper: doi.org/10.1038/s41467-026-73488-0.
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, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 2 keywords, 18 MeSH terms, 63 references.
Cite
This paper
Jian, Y., Jin, S., Liu, P., Zheng, X., Hong, X., Han, Y., Semyanov, A., Duan, S., & Tong, X. (2026). GABA signaling in NG2 glia mediates empathy-like behavior under observational social defeat. Nature communications, 17(1), 6812. https://
BibTeX
@article{jian2026gaba,
author = {Jian, Yujin and Jin, Shengyu and Liu, Peng and Zheng, Xiaoli and Hong, Xiaoqi and Han, Yong and Semyanov, Alexey and Duan, Shumin and Tong, Xiaoping},
title = {{GABA signaling in NG2 glia mediates empathy-like behavior under observational social defeat}},
journal = {Nature communications},
year = {2026},
month = may,
volume = {17},
number = {1},
pages = {6812},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42185310},
pmcid = {PMC13385396}
}
RIS
TY - JOUR
AU - Jian, Yujin
AU - Jin, Shengyu
AU - Liu, Peng
AU - Zheng, Xiaoli
AU - Hong, Xiaoqi
AU - Han, Yong
AU - Semyanov, Alexey
AU - Duan, Shumin
AU - Tong, Xiaoping
TI - GABA signaling in NG2 glia mediates empathy-like behavior under observational social defeat
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 6812
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "GABA signaling in NG2 glia mediates empathy-like behavior under observational social defeat",
"container-title": "Nature communications",
"author": [
{
"family": "Jian",
"given": "Yujin"
},
{
"family": "Jin",
"given": "Shengyu"
},
{
"family": "Liu",
"given": "Peng"
},
{
"family": "Zheng",
"given": "Xiaoli"
},
{
"family": "Hong",
"given": "Xiaoqi"
},
{
"family": "Han",
"given": "Yong"
},
{
"family": "Semyanov",
"given": "Alexey"
},
{
"family": "Duan",
"given": "Shumin"
},
{
"family": "Tong",
"given": "Xiaoping"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "6812",
"DOI": "10.1038/
"PMID": "42185310",
"PMCID": "PMC13385396",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
25
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41467-026-74206-6
- Targeting dopamine transporter for treating social transmission of depression-like behaviors in male mice.Journal: Nature communicationsIn common: mouse, 7 references
- [2] doi:10.1073/pnas.2614867123 [code]
- Glucocorticoid receptors in oligodendrocyte precursor cells regulate hippocampal network plasticity and stress-induced behavior in mice.Journal: Proceedings of the National Academy of Sciences of the United States of AmericaIn common: mouse, cellular / molecular, 6 references
- [3] doi:10.1523/eneuro.0441-25.2026
- Adolescent Social Isolation Induces Persistent Impairments in Emotional Discrimination and Helping Behavior.Journal: eNeuroIn common: mouse, 6 references
- [4] doi:10.1038/s41598-026-35639-7 [code]
- Neural correlates of adversity-overcoming pup rescue behavior in female mice.Journal: Scientific reportsIn common: mouse, cellular / molecular, 5 references
- [5] doi:10.1002/imt2.70163 [code]
- Spatial multi-omics unveils sphingolipid metabolic reprogramming within the retinal pathological niche.Journal: iMetaIn common: rstatix, Seurat, cowplot, 3 other tools, mouse, cellular / molecular
- [6] doi:10.1038/s41467-026-76232-w [code]
- Th17 effector cytokines induce shared and distinct microglial and endothelial cell responses in a mouse model for post-streptococcal encephalitis.Journal: Nature communicationsIn common: rstatix, Seurat, cowplot, 3 other tools, mouse, cellular / molecular
- [7] doi:10.1371/journal.pcbi.1014573 [code]
- Cell-type-specific m1A dynamics are associated with microglial phenotypic transition and neuronal metabolic adaptation during spinal cord injury.Journal: PLoS computational biologyIn common: rstatix, Seurat, cowplot, 3 other tools, mouse, cellular / molecular
- [8] doi:10.1038/s41586-026-10629-x [code]
- Whole-genome duplication shaped cell-type evolution in the vertebrate brain.Journal: NatureIn common: rstatix, Seurat, cowplot, 3 other tools, mouse, cellular / molecular
- [9] doi:10.1038/s42003-026-10034-0 [code]
- Region- and cell type-specific changes in gene expression in the cerebellum after classical fear conditioning.Journal: Communications biologyIn common: rstatix, Seurat, cowplot, 2 other tools, mouse, cellular / molecular, 1 reference
- [10] doi:10.1126/sciadv.aeg3223 [code]
- The extreme diversity of retinal amacrine cells has deep evolutionary roots.Journal: Science advancesIn common: rstatix, Seurat, cowplot, 3 other tools, cellular / molecular
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, 4 scripts, and 1 match 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:8a6f7d2872386d34…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
