OSCR

PD-1 regulates CD4<sup>+</sup> T cell-mediated CD8<sup>+</sup> T cell responses in the brain to balance viral control and neuroinflammation.

Code ↔ Paper

7 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 7 matches
  1. [1] § Methods › scRNA-seq whole transcriptome analysis ↔ h173_seurat_for_zenodo.R, lines 45–94 · score 0.95 · LogNormalize, UMAP embeddings, dimension reduction, FindClusters, feature selection, resolution
  2. [2] § Results › T cells are the major cell type expressing PD-1 in the MuPyV-infected brain ↔ figures.r, lines 101–245 · score 0.88 · Csf1r, Cd8a, Cd8b1, Cx3cr1, Mbp, Mobp
  3. [3] § Results › T cells are the major cell type expressing PD-1 in the MuPyV-infected brain ↔ analysis.r, lines 58–118 · score 0.87 · Csf1r, Cd8a, Cd8b1, Cx3cr1, Mbp, Mobp
  4. [4] § Methods › Luminex xMAP multiplexing immunoassays ↔ R Scripts/AnalysisPipeline.R, lines 1–40 · score 0.77 · logistic regression, cleaning pipeline, GitHub, concentrations, Luminex
  5. [5] § Methods › Tissue preparation for MERFISH transcriptomics and analysis ↔ banksy.r, lines 98–129 · score 0.70 · RunPCA, FindClusters, BANKSY, Leiden, spots, neighbours
  6. [6] § Methods › Tissue preparation for MERFISH transcriptomics and analysis ↔ h173_seurat_for_zenodo.R, lines 45–94 · score 0.66 · RunPCA, FindClusters, QC, neighbours, Seurat, filtering
  7. [7] § Results › Transcriptomic analysis of T cells from MuPyV-infected brains of WT and PD-1-deficient mice ↔ figures.r, lines 101–245 · score 0.51 · Cx3cr1, Ifng, MuPyV, Cxcr6, clustering, genes

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 · 393 lines · 15 KB · CC-BY-4.0 · 2 matches

  1. #Load the necessary R packages
  2. rm(list = ls())
  3. library(dplyr)
  4. library(Seurat)
  5. library(patchwork)
  6. library(ggplot2)
  7. library(cowplot)
  8. library(presto)
  9. library(bluster)
  10. library(scran)
  11. library(ape)
  12. library(ggtree)
  13. library(tidyr)
  14. library(biomaRt)
  15. library(scDblFinder)
  16. library(plotly)
  17. library(viridis)
  18. library(sparsevctrs)
  19. library(readxl)
  20. library(RColorBrewer)
  21. library(scCustomize)
  22. ##########
  23. #Load the data
  24. ##########
  25. setwd("C:/Users/vwalter1/OneDrive - Penn State Health/Migration/People/Aron_Lukacher/Data/H173")
  26. cd4Data = readRDS("H173-01_WTA_ST_Seurat.rds") #This is a Seurat object
  27. cd8Data = readRDS("H173-02_WTA_ST_Seurat.rds") #This is a Seurat object
  28. data = merge(x = cd4Data, y = cd8Data, add.cell.ids = c("CD4", "CD8"))
  29. ##########
  30. #Begin QC, as per the Seurat vignette
  31. ##########
  32. #Define mitochondrial gene percentage
  33. data[["percent.mt"]] = PercentageFeatureSet(data, pattern = "^mt-") #Percentage of mitochondrial genes
  34. #Summary statistics used to filter cells
  35. nCountMedian = median(data$nCount_RNA)
  36. nFeatureMedian = median(data$nFeature_RNA)
  37. mitoPctMedian = median(data$percent.mt)
  38. nCountMad = mad(data$nCount_RNA)
  39. nFeatureMad = mad(data$nFeature_RNA)
  40. mitoPctMad = mad(data$percent.mt)
  41. #Define thresholds for QC
  42. highCountRnaThresh = nCountMedian + (3 * nCountMad)
  43. lowFeatureRnaThresh = nFeatureMedian - (2 * nFeatureMad)
  44. highFeatureRnaThresh = nFeatureMedian + (3 * nFeatureMad)
  45. mitoPctThresh = mitoPctMedian + (3 * mitoPctMad)
  46. #Filter data based on thresholds for nFeature_RNA and percent.mt, as defined above
  47. data = subset(data, subset = nFeature_RNA >= lowFeatureRnaThresh & nFeature_RNA <= highFeatureRnaThresh & percent.mt <= mitoPctThresh
  48. & nCount_RNA <= highCountRnaThresh & Sample_Tag %in% c("SampleTag01_mm", "SampleTag02_mm", "SampleTag03_mm", "SampleTag04_mm"))
  49. table(data[[]]$Sample_Tag) #OK
  50. dim(data[[]]) #Now 16009 cells
  51. ##########
  52. #Perform normalization, identify variable features, and perform feature selection
  53. ##########
  54. data = NormalizeData(data, normalization.method = "LogNormalize", scale.factor = 1e5)
  55. data = FindVariableFeatures(data, selection.method = "vst", nfeatures = 2e3)
  56. data = ScaleData(data, features = rownames(data))
  57. ##########
  58. #Perform linear dimension reduction
  59. ##########
  60. data = RunPCA(data, features = VariableFeatures(object = data))
  61. maxDim = 15
  62. data = FindNeighbors(data, reduction = "pca", dims = 1:maxDim)
  63. data = FindClusters(data, random.seed = 12345, resolution = 0.5)
  64. ##########
  65. #UMAP embedding
  66. ##########
  67. data = RunUMAP(data, dims = 1:maxDim)
  68. ##########
  69. #Define plotting colors
  70. ##########
  71. custom_colors = list()
  72. colors_dutch = c(
  73. '#FFC312','#C4E538','#12CBC4','#FDA7DF','#ED4C67',
  74. '#F79F1F','#A3CB38','#1289A7','#D980FA','#B53471',
  75. '#EE5A24','#009432','#0652DD','#9980FA','#833471',
  76. '#EA2027','#006266','#1B1464','#5758BB','#6F1E51')
  77. colors_spanish = c(
  78. '#40407a','#706fd3','#f7f1e3','#34ace0','#33d9b2',
  79. '#2c2c54','#474787','#aaa69d','#227093','#218c74',
  80. '#ff5252','#ff793f','#d1ccc0','#ffb142','#ffda79',
  81. '#b33939','#cd6133','#84817a','#cc8e35','#ccae62')
  82. custom_colors$discrete = c(colors_dutch, colors_spanish)
  83. custom_colors$cell_cycle = setNames(
  84. c('#45aaf2', '#f1c40f', '#e74c3c', '#7f8c8d'),
  85. c('G1', 'S', 'G2M', '-'))
  86. ##########
  87. #UMAP plot by sample tag
  88. ##########
  89. umap3 = DimPlot(data, reduction = "umap", label = T, raster = F, split.by = "Sample_Tag",
  90. cols = custom_colors$discrete, ncol = 2)
  91. #pdf()
  92. umap3
  93. #dev.off()
  94. ##########
  95. #Feature plots for genes of interest by sample tag
  96. ##########
  97. setwd("C:/Users/vwalter1/OneDrive - Penn State Health/Migration/People/Aron_Lukacher/Gene_sets")
  98. geneList1 = as.data.frame(read_excel("gene_list_76_20250410.xlsx"))
  99. geneList2 = as.data.frame(read_excel("Ren_NIHMS1643105-supplement-Table_1_VW.xlsx", sheet = "Fig3A_FigS3C_genes"))
  100. geneList3 = as.data.frame(read_excel("genelist_36_20250428.xlsx"))
  101. geneList4 = c("Cxcl9", "Il12rb1", "Irf7", "Socs1", "Runx2", "Nr3c1")
  102. geneList5 = c("Ccl3", "Ccl4", "Trgc2", "Trgv2")
  103. geneList6 = c("Cd8a", "Cd8b1", "Cd4")
  104. geneList7 = c("Birc5", "Cd160", "Ebi3", "Itgal", "Itgb7", "Klf4", "Mki67",
  105. "Malat1", "Stmn1", "Tnfrsf18")
  106. #Use scCustomize to split the above feature plot by Sample Tag
  107. moreGenes = unique(c(geneList1$Gene, geneList3$Gene, geneList4, geneList5, geneList6, geneList7))
  108. moreGenes = sort(intersect(moreGenes, rownames(data)))
  109. dataST1 = subset(data, subset = Sample_Tag == "SampleTag01_mm")
  110. dataST2 = subset(data, subset = Sample_Tag == "SampleTag02_mm")
  111. dataST3 = subset(data, subset = Sample_Tag == "SampleTag03_mm")
  112. dataST4 = subset(data, subset = Sample_Tag == "SampleTag04_mm")
  113. #pdf()
  114. for (i in 1:length(moreGenes))
  115. {
  116. tempFeature1 = FeaturePlot(dataST1, moreGenes[i]) +
  117. scale_colour_gradientn(colours = c("gray85", rev(brewer.pal(n = 11, name = "Spectral"))), limits = c(0, 9)) +
  118. scale_x_continuous(limits = c(-10, 10)) +
  119. scale_y_continuous(limits = c(-8, 5)) +
  120. labs(title = moreGenes[i], subtitle = "SampleTag01_mm") +
  121. theme(
  122. plot.title = element_text(hjust = 0.5),
  123. plot.subtitle = element_text(hjust = 0.5)
  124. )
  125. tempFeature2 = FeaturePlot(dataST2, moreGenes[i]) +
  126. scale_colour_gradientn(colours = c("gray85", rev(brewer.pal(n = 11, name = "Spectral"))), limits = c(0, 9)) +
  127. scale_x_continuous(limits = c(-10, 10)) +
  128. scale_y_continuous(limits = c(-8, 5)) +
  129. labs(title = moreGenes[i], subtitle = "SampleTag02_mm") +
  130. theme(
  131. plot.title = element_text(hjust = 0.5),
  132. plot.subtitle = element_text(hjust = 0.5)
  133. )
  134. tempFeature3 = FeaturePlot(dataST3, moreGenes[i]) +
  135. scale_colour_gradientn(colours = c("gray85", rev(brewer.pal(n = 11, name = "Spectral"))), limits = c(0, 9)) +
  136. scale_x_continuous(limits = c(-10, 10)) +
  137. scale_y_continuous(limits = c(-8, 5)) +
  138. labs(title = moreGenes[i], subtitle = "SampleTag03_mm") +
  139. theme(
  140. plot.title = element_text(hjust = 0.5),
  141. plot.subtitle = element_text(hjust = 0.5)
  142. )
  143. tempFeature4 = FeaturePlot(dataST4, moreGenes[i]) +
  144. scale_colour_gradientn(colours = c("gray85", rev(brewer.pal(n = 11, name = "Spectral"))), limits = c(0, 9)) +
  145. scale_x_continuous(limits = c(-10, 10)) +
  146. scale_y_continuous(limits = c(-8, 5)) +
  147. labs(title = moreGenes[i], subtitle = "SampleTag04_mm") +
  148. theme(
  149. plot.title = element_text(hjust = 0.5),
  150. plot.subtitle = element_text(hjust = 0.5)
  151. )
  152. print(CombinePlots(plots = list(tempFeature1, tempFeature2, tempFeature3, tempFeature4), ncol = 2))
  153. }
  154. #dev.off()
  155. ##########
  156. #Define helper functions used to create dot plots
  157. ##########
  158. prct_helper = function(object, genes)
  159. {
  160. counts = object[['RNA']]@counts
  161. ncells = ncol(counts)
  162. if(genes %in% row.names(counts))
  163. {
  164. return(sum(counts[genes,]>0)/ncells)
  165. } else
  166. {
  167. return(NA)
  168. }
  169. }
  170. mean_helper = function(object, genes)
  171. {
  172. expVals = object@assays$RNA@data
  173. if(genes %in% row.names(expVals))
  174. {
  175. return(sparse_mean(expVals[genes,]))
  176. } else
  177. {
  178. return(NA)
  179. }
  180. }
  181. PrctCellExpringGene = function(object, genes, group.by = "all")
  182. {
  183. if(group.by == "all")
  184. {
  185. prct = unlist(lapply(genes, prct_helper, object = object))
  186. result = data.frame(Markers = genes, Cell_proportion = prct)
  187. return(result)
  188. }
  189. else {
  190. list = SplitObject(object, group.by)
  191. factors = names(list)
  192. results = lapply(list, PrctCellExpringGene, genes = genes)
  193. for(i in 1:length(factors))
  194. {
  195. results[[i]]$Feature = factors[i]
  196. }
  197. combined = do.call("rbind", results)
  198. return(combined)
  199. }
  200. }
  201. MeanGeneExp = function(object, genes, group.by = "all")
  202. {
  203. if(group.by == "all")
  204. {
  205. meanVal = unlist(lapply(genes, mean_helper, object = object))
  206. result = data.frame(Markers = genes, MeanExp = meanVal)
  207. return(result)
  208. }
  209. else {
  210. list = SplitObject(object, group.by)
  211. factors = names(list)
  212. results = lapply(list, MeanGeneExp, genes = genes)
  213. for(i in 1:length(factors))
  214. {
  215. results[[i]]$Feature = factors[i]
  216. }
  217. combined = do.call("rbind", results)
  218. return(combined)
  219. }
  220. }
  221. ##########
  222. #Make dot plots
  223. ##########
  224. setwd("C:/Users/vwalter1/OneDrive - Penn State Health/Migration/People/Aron_Lukacher/Gene_sets")
  225. dotPlotGeneInfo = as.data.frame(read_excel("Gene_list_dot plot_3_20250929_VW.xlsx"))
  226. dotPlotGenes = dotPlotGeneInfo$Gene
  227. #Remove Maf from dotPlotGenes - this was done on 20250721
  228. dotPlotGenes = setdiff(dotPlotGenes, "Maf")
  229. #Add a second numeric version of Sample_Tag to the metadata that groups CD4 and CD8 cells together
  230. numSampleTag2 = (1 * as.numeric(data[[]]$Sample_Tag == "SampleTag01_mm")) +
  231. (3 * as.numeric(data[[]]$Sample_Tag == "SampleTag02_mm")) +
  232. (2 * as.numeric(data[[]]$Sample_Tag == "SampleTag03_mm")) +
  233. (4 * as.numeric(data[[]]$Sample_Tag == "SampleTag04_mm"))
  234. data = AddMetaData(object = data, metadata = numSampleTag2, col.name = "numSampleTag2")
  235. dotPlotPcts = PrctCellExpringGene(object = data, genes = dotPlotGenes, group.by = "numSampleTag2")
  236. dotPlotPcts = dotPlotPcts[order(as.numeric(dotPlotPcts$Feature), dotPlotPcts$Markers),]
  237. dotPlotPcts$Feature = as.numeric(dotPlotPcts$Feature)
  238. dotPlotMeans = MeanGeneExp(object = data, genes = dotPlotGenes, group.by = "numSampleTag2")
  239. dotPlotMeans = dotPlotMeans[order(as.numeric(dotPlotMeans$Feature), dotPlotMeans$Markers),]
  240. dotPlotMeans$Feature = as.numeric(dotPlotMeans$Feature)
  241. dotPlotData = dotPlotPcts
  242. dotPlotData$MeanExp = dotPlotMeans$MeanExp
  243. dotPlotTitle = "Expression by Cell Type"
  244. pctDotPlot = ggplot(data = dotPlotData, aes(x = Feature, y = Markers,
  245. size = Cell_proportion, color = MeanExp)) +
  246. geom_point() +
  247. #scale_color_gradient(low = "gray", high = "red") +
  248. scale_colour_gradientn(colours = c("gray85", rev(brewer.pal(n = 11, name = "Spectral"))), limits = c(0, 5)) +
  249. theme_bw() +
  250. ylab("") +
  251. xlab("") +
  252. scale_x_continuous(breaks = c(0:10), name = "Cell Type") +
  253. scale_y_discrete(limits = rev(dotPlotGenes)) +
  254. labs(title = dotPlotTitle, x = "Cell Type", y = "Gene",
  255. size = "Proportion", color = "Mean Expression") +
  256. theme(axis.text.x = element_text(size = 12), axis.title.x = element_text(size = 14),
  257. axis.text.y = element_text(size = 12, face = "italic"), axis.title.y = element_text(size = 14),
  258. plot.title = element_text(size = 14))
  259. #pdf()
  260. print(pctDotPlot)
  261. #dev.off()
  262. ##########
  263. #Stacked barplots
  264. ##########
  265. tableSamplesByClusters2 = [email hidden] %>%
  266. group_by(numSampleTag2, seurat_clusters) %>%
  267. summarize(count = n()) %>%
  268. spread(seurat_clusters, count, fill = 0) %>%
  269. ungroup() %>%
  270. mutate(total_cell_count = rowSums(.[c(2:ncol(.))])) %>%
  271. dplyr::select(c('numSampleTag2', 'total_cell_count', everything())) %>%
  272. arrange(factor(numSampleTag2, levels = levels([email hidden]$numSampleTag2)))
  273. groupLabels2 = [email hidden] %>%
  274. group_by(numSampleTag2) %>%
  275. tally()
  276. barPlot2 = tableSamplesByClusters2 %>%
  277. dplyr::select(-c('total_cell_count')) %>%
  278. reshape2::melt(id.vars = 'numSampleTag2') %>%
  279. mutate(sample = factor(numSampleTag2, levels = levels([email hidden]$numSampleTag2))) %>%
  280. ggplot(aes(numSampleTag2, value)) +
  281. geom_bar(aes(fill = variable), position = 'fill', stat = 'identity') +
  282. geom_text(
  283. data = groupLabels2,
  284. aes(x = numSampleTag2, y = Inf, label = paste0('n = ', format(n, big.mark = ',', trim = TRUE)), vjust = -1),
  285. color = 'black', size = 2.8
  286. ) +
  287. scale_fill_manual(name = 'Cluster', values = custom_colors$discrete) +
  288. scale_y_continuous(name = 'Percentage [%]', labels = scales::percent_format(), expand = c(0.01,0)) +
  289. coord_cartesian(clip = 'off') +
  290. theme_bw() +
  291. theme(
  292. legend.position = 'left',
  293. plot.title = element_text(hjust = 0.5),
  294. text = element_text(size = 16),
  295. panel.grid.major = element_blank(),
  296. panel.grid.minor = element_blank(),
  297. axis.title.x = element_blank(),
  298. axis.text.x = element_text(angle = 45, hjust = 1, vjust = 1),
  299. plot.margin = margin(t = 20, r = 0, b = 0, l = 0, unit = 'pt')
  300. )
  301. #pdf()
  302. barPlot2
  303. #dev.off()
  304. ##########
  305. #Differential expression analyses
  306. ##########
  307. Idents(data) = "Sample_Tag"
  308. cd4DeResults = FindMarkers(data, ident.1 = "SampleTag01_mm", ident.2 = "SampleTag03_mm")
  309. cd8DeResults = FindMarkers(data, ident.1 = "SampleTag02_mm", ident.2 = "SampleTag04_mm")
  310. ##########
  311. #Volcano plot for CD4
  312. ##########
  313. cd4DeResults = cd4DeResults[-which(cd4DeResults$p_val == 0),]
  314. volcanoData = data.frame(
  315. logFC = as.numeric(cd4DeResults$avg_log2FC),
  316. logPval = -log10(cd4DeResults$p_val_adj))
  317. rownames(volcanoData) = rownames(cd4DeResults)
  318. comparison = "Sample Tag 1 vs. Sample Tag 3"
  319. fcCutoff = 1
  320. pvalCutoff = -log10(0.05)
  321. absFcVal = max(abs(volcanoData$logFC))
  322. #pdf("")
  323. fcPosPoints1 = intersect(which(volcanoData$logFC > 0), which(volcanoData$logPval > pvalCutoff))
  324. fcPosPoints2 = intersect(which(volcanoData$logFC > fcCutoff), which(volcanoData$logPval > pvalCutoff))
  325. fcPosPoints3 = setdiff(which(volcanoData$logFC > fcCutoff), which(volcanoData$logPval > pvalCutoff))
  326. fcNegPoints1 = intersect(which(volcanoData$logFC < 0), which(volcanoData$logPval > pvalCutoff))
  327. fcNegPoints2 = intersect(which(volcanoData$logFC < -fcCutoff), which(volcanoData$logPval > pvalCutoff))
  328. fcNegPoints3 = setdiff(which(volcanoData$logFC < -fcCutoff), which(volcanoData$logPval > pvalCutoff))
  329. plot(volcanoData$logFC, volcanoData$logPval, axes = F, xlab = "", ylab = "", main = "", type = "n",
  330. xlim = c(-absFcVal, absFcVal), ylim = c(0, 12))
  331. abline(h = pvalCutoff, col = "gray", lty = 2, lwd = 2)
  332. abline(v = -fcCutoff, col = "gray", lty = 2, lwd = 2)
  333. abline(v = fcCutoff, col = "gray", lty = 2, lwd = 2)
  334. points(volcanoData$logFC, volcanoData$logPval, pch = 19, col = "black")
  335. points(volcanoData$logFC[fcPosPoints1], volcanoData$logPval[fcPosPoints1], pch = 19, col = "pink", cex = 1.25)
  336. points(volcanoData$logFC[fcPosPoints2], volcanoData$logPval[fcPosPoints2], pch = 19, col = "red", cex = 1.25)
  337. points(volcanoData$logFC[fcPosPoints3], volcanoData$logPval[fcPosPoints3], pch = 19, col = "lightsalmon", cex = 1.25)
  338. points(volcanoData$logFC[fcNegPoints1], volcanoData$logPval[fcNegPoints1], pch = 19, col = "lightblue", cex = 1.25)
  339. points(volcanoData$logFC[fcNegPoints2], volcanoData$logPval[fcNegPoints2], pch = 19, col = "blue", cex = 1.25)
  340. points(volcanoData$logFC[fcNegPoints3], volcanoData$logPval[fcNegPoints3], pch = 19, col = "lightgreen", cex = 1.25)
  341. axis(side = 1, cex.axis = 1.25)
  342. axis(side = 2, cex.axis = 1.25)
  343. mtext(text = expression("log"[2]*"(Fold Change)"), side = 1, line = 2.5, cex = 1.25)
  344. mtext(text = expression("-log"[10]*"(Bonferroni p-Value)"), side = 2, line = 2.5, cex = 1.25)
  345. mtext(text = comparison, side = 3, cex = 1.25, line = 2.5)
  346. #dev.off()

h173_seurat_for_zenodo.R, under CC-BY-4.0 · at the source

Overview

Authors: Arrienne B Butic1, Elia Afanasiev2, Samantha A Spencer1, Mofida Abdelmageed3, Anirban Paul3, Kalynn M Alexander1, Katelyn N Ayers1, Todd D Schell1, Matthew D Lauver1, Ge Jin1, Samantha M Borys4, Rachel Y Kang5, ChaeMin Kim5, Elizabeth A Proctor5, Laurent Brossay4, Jo Anne A Stratton2, Vonn Walter6, Aron E Lukacher1
  1. Department of Cell and Biological Systems, Pennsylvania State University College of Medicine, Hershey, PA USA
  2. Department of Neurology and Neurosurgery, Montreal Neurological Institute, McGill University, Montreal, QC Canada
  3. Department of Neuroscience and Experimental Therapeutics, Pennsylvania State University College of Medicine, Hershey, PA USA
  4. Division of Biology and Medicine, Department of Molecular Microbiology & Immunology, Brown University, Providence, RI USA
  5. Department of Neurology, Center for Brain, Immunology, and Glia, Brain Institute, University of Virginia, Charlottesville, VA USA
  6. Department of Public Health Sciences, Pennsylvania State University College of Medicine, Hershey, PA USA
Institutions: Pennsylvania State University (United States); Montreal Neurological Institute and Hospital (Canada); McGill University (Canada); Brown University (United States); University of Virginia (United States)
Journal: Nature communications, volume 17, issue 1, article 9839
Dates: received 26 November 2025; accepted 3 August 2026; published online 17 August 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41467-026-76762-3 · PMID 42744829 · PMCID PMC13578448 · OpenAlex W4416867851
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), mouse (organism), cellular / molecular (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Machine learning
Keywords: Infection, Central nervous system infections, Cellular immunity, T cells
MeSH: Brain*, CD4-Positive T-Lymphocytes*, CD8-Positive T-Lymphocytes*, Leukoencephalopathy, Progressive Multifocal*, Neuroinflammatory Diseases*, Programmed Cell Death 1 Receptor*, Animals, Female, Humans, JC Virus, Mice, Mice, Inbred C57BL, Mice, Knockout (* major topic)
Topic: Polyomavirus and related diseases (Oncology, Medicine), according to OpenAlex
Funding: NIAID NIH HHS (R01 AI173163, R01 AI046709); NIA NIH HHS (R01 AG072513, RF1 AG072602); U.S. Department of Health &amp; Human Services | NIH | National Institute of Neurological Disorders and Stroke (NINDS) (R35NS127217); NINDS NIH HHS (R35 NS127217)
Citations: not cited yet (Europe PMC); 71 references in the paper
Research resources: RRID:SCR_014601, The dplyr RRID:SCR_016708, tidyr RRID:SCR_017102, RRID:SCR_021123, the Flow Cytometry Core RRID:SCR_021134, the Comparative Medicine Imaging Core RRID:SCR_023179

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 7 matches between paragraphs and lines of code.

elizabethproctor/Luminex-Data-Cleaning

License: GPL-3.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: b1fa88f4b03aa8a444fdef59ad14d6607eff1ab9, 30 July 2023
Languages: R (2)
Size: 6 files, 2 scripts
Software Heritage: not archived
Found in: the text, “Luminex xMAP multiplexing immunoassays”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: ggplot2 (2 files), glmnet (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
4 files

stratton-lab/alexander-2025-cxcr

License: EUPL-1.2
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: beed74e6f228608d1660fe8be75ffc7c1d661492, 24 June 2025
Languages: R (3)
Size: 4 files, 3 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: license file
Not found: README, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Seurat (3 files), tidyverse (3 files), data.table (2 files), ggplot2 (2 files), patchwork (2 files), reticulate (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
4 files

Zenodo 21179919

License: eupl-1.2
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: Seurat (3 files), tidyverse (3 files), data.table (2 files), ggplot2 (2 files), patchwork (2 files), reticulate (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
4 files

Zenodo 21243082

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Languages: R (1)
Size: 1 file, 1 script
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: cowplot (1 file), ggplot2 (1 file), patchwork (1 file), Plotly (1 file), reshape2 (1 file), Seurat (1 file), tidyverse (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
1 file
At the source:

Zenodo 21076315

License: GPL-3.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: ggplot2 (2 files), glmnet (2 files)
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
4 files
At the source:

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:

Read it in the paper: doi.org/10.1038/s41467-026-76762-3.

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:

  • 5 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 11 scripts, each with its path and the digest of its content;
  • 7 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

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:

Read it in the paper: doi.org/10.1038/s41467-026-76762-3.

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, 18 authors, 4 keywords, 13 MeSH terms, 4 funders, 71 references, 6 RRIDs.

Cite

This paper

Butic, A. B., Afanasiev, E., Spencer, S. A., Abdelmageed, M., Paul, A., Alexander, K. M., Ayers, K. N., Schell, T. D., Lauver, M. D., Jin, G., Borys, S. M., Kang, R. Y., Kim, C., Proctor, E. A., Brossay, L., Stratton, J. A. A., Walter, V., & Lukacher, A. E. (2026). PD-1 regulates CD4&lt;sup&gt;+&lt;/sup&gt; T cell-mediated CD8&lt;sup&gt;+&lt;/sup&gt; T cell responses in the brain to balance viral control and neuroinflammation. Nature communications, 17(1), 9839. https://doi.org/10.1038/s41467-026-76762-3

BibTeX

@article{butic2026pd,
author = {Butic, Arrienne B and Afanasiev, Elia and Spencer, Samantha A and Abdelmageed, Mofida and Paul, Anirban and Alexander, Kalynn M and Ayers, Katelyn N and Schell, Todd D and Lauver, Matthew D and Jin, Ge and Borys, Samantha M and Kang, Rachel Y and Kim, ChaeMin and Proctor, Elizabeth A and Brossay, Laurent and Stratton, Jo Anne A and Walter, Vonn and Lukacher, Aron E},
title = {{PD-1 regulates CD4\&lt;sup\&gt;+\&lt;/sup\&gt; T cell-mediated CD8\&lt;sup\&gt;+\&lt;/sup\&gt; T cell responses in the brain to balance viral control and neuroinflammation}},
journal = {Nature communications},
year = {2026},
month = aug,
volume = {17},
number = {1},
pages = {9839},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-76762-3},
url = {https://doi.org/10.1038/s41467-026-76762-3},
pmid = {42744829},
pmcid = {PMC13578448}
}

RIS

TY - JOUR
AU - Butic, Arrienne B
AU - Afanasiev, Elia
AU - Spencer, Samantha A
AU - Abdelmageed, Mofida
AU - Paul, Anirban
AU - Alexander, Kalynn M
AU - Ayers, Katelyn N
AU - Schell, Todd D
AU - Lauver, Matthew D
AU - Jin, Ge
AU - Borys, Samantha M
AU - Kang, Rachel Y
AU - Kim, ChaeMin
AU - Proctor, Elizabeth A
AU - Brossay, Laurent
AU - Stratton, Jo Anne A
AU - Walter, Vonn
AU - Lukacher, Aron E
TI - PD-1 regulates CD4&lt;sup&gt;+&lt;/sup&gt; T cell-mediated CD8&lt;sup&gt;+&lt;/sup&gt; T cell responses in the brain to balance viral control and neuroinflammation
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/08/17
VL - 17
IS - 1
SP - 9839
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-76762-3
UR - https://doi.org/10.1038/s41467-026-76762-3
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-76762-3",
"type": "article-journal",
"title": "PD-1 regulates CD4&lt;sup&gt;+&lt;/sup&gt; T cell-mediated CD8&lt;sup&gt;+&lt;/sup&gt; T cell responses in the brain to balance viral control and neuroinflammation",
"container-title": "Nature communications",
"author": [
{
"family": "Butic",
"given": "Arrienne B"
},
{
"family": "Afanasiev",
"given": "Elia"
},
{
"family": "Spencer",
"given": "Samantha A"
},
{
"family": "Abdelmageed",
"given": "Mofida"
},
{
"family": "Paul",
"given": "Anirban"
},
{
"family": "Alexander",
"given": "Kalynn M"
},
{
"family": "Ayers",
"given": "Katelyn N"
},
{
"family": "Schell",
"given": "Todd D"
},
{
"family": "Lauver",
"given": "Matthew D"
},
{
"family": "Jin",
"given": "Ge"
},
{
"family": "Borys",
"given": "Samantha M"
},
{
"family": "Kang",
"given": "Rachel Y"
},
{
"family": "Kim",
"given": "ChaeMin"
},
{
"family": "Proctor",
"given": "Elizabeth A"
},
{
"family": "Brossay",
"given": "Laurent"
},
{
"family": "Stratton",
"given": "Jo Anne A"
},
{
"family": "Walter",
"given": "Vonn"
},
{
"family": "Lukacher",
"given": "Aron E"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "9839",
"DOI": "10.1038/s41467-026-76762-3",
"PMID": "42744829",
"PMCID": "PMC13578448",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-76762-3",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
17
]
]
}
}

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.1126/sciadv.aeg3223 [code]
The extreme diversity of retinal amacrine cells has deep evolutionary roots.
Journal: Science advances
In common: glmnet, reticulate, Plotly, 7 other tools, cellular / molecular
[2] doi:10.3390/ijms27104466 [code]
Uncovering the Key Circuit FOSL2/FOS/EGR3/EGR1, Contributing to the Hyperexcitability of Excitatory Neurons in the Epileptic Temporal Cortex and Hippocampus.
Journal: International journal of molecular sciences
In common: glmnet, reticulate, Plotly, 7 other tools
[3] doi:10.1038/s42003-026-10957-8 [code]
Brain defence by the extracellular matrix protein Cochlin.
Journal: Communications biology
In common: glmnet, reticulate, Plotly, 6 other tools, mouse, cellular / molecular
[4] doi:10.1038/s41380-026-03585-5 [code]
Multiomics analysis identifies VPA-induced changes in neural progenitor cells, ventricular-like regions, and cellular microenvironment in dorsal forebrain organoids.
Journal: Molecular psychiatry
In common: reticulate, Plotly, Seurat, 6 other tools, mouse, 1 reference
[5] doi:10.1038/s41514-026-00397-3 [code]
Nasal administration of Protollin enhances monocyte phagocytosis and decreases CD8&lt;sup&gt;+&lt;/sup&gt; T cell cytotoxicity in subjects with early Alzheimer's disease: a Phase 1 clinical trial.
Journal: npj aging
In common: reticulate, Plotly, Seurat, 6 other tools, 1 reference
[6] doi:10.1038/s44318-026-00818-9 [code]
FAM134B-mediated ER-phagy degrades APP and suppresses Alzheimer's disease pathology.
Journal: The EMBO journal
In common: reticulate, Plotly, Seurat, 6 other tools, mouse, cellular / molecular
[7] doi:10.1186/s12974-026-03838-8 [code]
Acarbose modulates microglial Pkm2 acetylation to reshape immunometabolism and preserve retinal neurons after ischemia-reperfusion.
Journal: Journal of neuroinflammation
In common: reticulate, Plotly, Seurat, 6 other tools, mouse, cellular / molecular
[8] doi:10.1002/ctm2.70683 [code]
Niacin promotes motor function recovery after spinal cord injury via Hcar2-dependent microglia immunometabolic regulation.
Journal: Clinical and translational medicine
In common: reticulate, Plotly, Seurat, 6 other tools, mouse, cellular / molecular
[9] doi:10.1093/brain/awaf440 [code]
Cerebrospinal fluid-driven ependymal motile cilia defects are implicated in multiple sclerosis.
Journal: Brain : a journal of neurology
In common: Seurat, data.table, patchwork, 2 other tools, mouse, cellular / molecular, 1 reference, author Jo Anne A Stratton
[10] doi:10.1073/pnas.2523130123 [code]
FABP7 controls radial glial scaffold stability during human cortical development.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: reticulate, Plotly, Seurat, 6 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.

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.