OSCR

Spatial transcriptomic profiling of developing mouse hearts reveals a spatially patterned signaling environment.

Code ↔ Paper

10 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 10 matches
  1. [1] § Methods › Data analysis › Selection and ligand-receptor analysis of the Niche signal ↔ R_preprocess_update_selecte-targetCell_NicheCell.R, lines 100–164 · score 0.70 · r_dist_sqrt, radial distance, target cells, Niche
  2. [2] § Methods › Data analysis › Deconvolution analysis ↔ cell2location/models/_cell2location_WTA_module.py, lines 17–73 · score 0.68 · negative binomial distribution, Cell2location, reference cell, trained, signatures, modeling
  3. [3] § Methods › Data analysis › Deconvolution analysis ↔ cell2location/models/_cell2location_module.py, lines 17–73 · score 0.68 · negative binomial distribution, Cell2location, reference cell, trained, signatures, modeling
  4. [4] § Methods › Data analysis › Sequencing reads mapping and normalization ↔ Visium_split_tissue.R, lines 1–74 · score 0.60 · Load10X_Spatial, Seurat, barcode, transformation, tissue, positioned
  5. [5] § Methods › Data analysis › COMMOT spatial ligand-receptor analysis of Visium data ↔ Commot_on_Stage_P2.ipynb, lines 49–51 · score 0.58 · CellChat, ligand receptor, COMMOT, database, signal
  6. [6] § Methods › Data analysis › Section splitting ↔ Visium_split_tissue.R, lines 1–74 · score 0.57 · filter range, Seurat, split, tissue, positions, Visium
  7. [7] § Results › Generation of a spatial transcriptomic atlas using Visium and Slide-seq ↔ Deconvolution_Visium_spatial_P2.ipynb, lines 207–237 · score 0.56 · vas_ec, Epi, endocardial, vascular, fibroblasts, deconvolved
  8. [8] § Results › Identification of the signaling communications between conduction cells and their niche cells ↔ Deconvolution_Visium_spatial_P2.ipynb, lines 207–237 · score 0.53 · endo_ec, vas_ec, Slide
  9. [9] § Methods › Data analysis › Sequencing reads mapping and normalization ↔ cut_curio_SlideSeq_src.R, lines 1–49 · score 0.52 · curio Slide seq, Seurat, bead, filter
  10. [10] § Methods › Data analysis › Section splitting ↔ cut_curio_SlideSeq_src.R, lines 1–49 · score 0.52 · filter range, Seurat, cut, Curio, seq

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

  1. library(Seurat)
  2. library(SeuratData)
  3. library(ggplot2)
  4. library(patchwork)
  5. library(dplyr)
  6. library(spacexr)
  7. library(jsonlite)
  8. library(png)
  9. VisiumData<-read.VisiumSpatialRNA("location")
  10. spatial = Load10X_Spatial(data.dir = paste0("location"))
  11. barcodes <- colnames(VisiumData@counts)
  12. plot1 <- VlnPlot(spatial, features = "nCount_Spatial", pt.size = 0.1) + NoLegend()
  13. plot2 <- SpatialFeaturePlot(spatial, features = "nCount_Spatial") + theme(legend.position = "right")
  14. wrap_plots(plot1, plot2)
  15. orig_count = slide_seq@assays$RNA@counts
  16. ## read location file
  17. tissue.positions.path = "~/tissue_positions.csv"
  18. image.dir = "~/"
  19. tissue.positions <- read.csv(
  20. file = tissue.positions.path,
  21. col.names = c('barcodes', 'tissue', 'row', 'col', 'imagerow', 'imagecol'),
  22. header = ifelse(
  23. test = basename(tissue.positions.path) == "tissue_positions.csv",
  24. yes = TRUE,
  25. no = FALSE
  26. ),
  27. as.is = TRUE,
  28. row.names = 1
  29. )
  30. tissue.positions <- tissue.positions[which(x = tissue.positions$tissue == 1), , drop = FALSE]
  31. scale.factors <- fromJSON(txt = file.path(image.dir,'scalefactors_json.json'))
  32. image <- readPNG(source = file.path(image.dir, 'tissue_lowres_image.png'))
  33. unnormalized.radius <- scale.factors$fiducial_diameter_fullres * scale.factors$tissue_lowres_scalef
  34. spot.radius <- unnormalized.radius / max(dim(x = image))
  35. ## set filter range
  36. ## note SPATIAL_1 for Y axis SPATIAL_2 for X axis
  37. ## example for cutoff E12.5
  38. loc = locations[locations$SPATIAL_2 > 1590 & locations$SPATIAL_2 < 3990 & locations$SPATIAL_1>2000 & locations$SPATIAL_1 < 3940,]
  39. newcounts = slide_seq@assays$RNA@counts[,colnames(slide_seq@assays$RNA@counts) %in% rownames(loc)]
  40. object <- CreateSeuratObject(counts = data, assay = assay)
  41. image = new(
  42. Class = 'VisiumV1',
  43. image = image,
  44. scale.factors = scalefactors(
  45. spot = scale.factors$spot_diameter_fullres,
  46. fiducial = scale.factors$fiducial_diameter_fullres,
  47. hires = scale.factors$tissue_hires_scalef,
  48. scale.factors$tissue_lowres_scalef
  49. ),
  50. coordinates = tissue.positions,
  51. spot.radius = spot.radius
  52. )
  53. image <- image[Cells(x = object)]
  54. DefaultAssay(object = image) <- "SPATIAL"
  55. object[[slice]] <- image
  56. plot1 <- VlnPlot(spatial, features = "nCount_Spatial", pt.size = 0.1) + NoLegend()
  57. plot2 <- SpatialFeaturePlot(spatial, features = "nCount_Spatial") + theme(legend.position = "right")
  58. wrap_plots(plot1, plot2)
  59. spatial <- SCTransform(spatial, assay = "Spatial", verbose = FALSE)
  60. spatial <- RunPCA(spatial, assay = "SCT", verbose = FALSE)
  61. spatial <- FindNeighbors(spatial, reduction = "pca", dims = 1:30)
  62. spatial <- FindClusters(spatial, verbose = FALSE)
  63. spatial <- RunUMAP(spatial, reduction = "pca", dims = 1:30)
  64. spatial <- FindSpatiallyVariableFeatures(spatial, assay = "SCT", features = VariableFeatures(spatial)[1:1000],
  65. selection.method = "moransi")
  66. top.features <- head(SpatiallyVariableFeatures(spatial, method = "moransi"), 6)
  67. ##filter scales for other stages
  68. # SpatialFeaturePlot(spatial, features = top.features, ncol = 3, alpha = c(0.1, 1),pt.size.factor = 4)
  69. # SpatialDimPlot(spatial,cells.highlight = WhichCells(spatial, expression = slice1_imagerow > 305 & slice1_imagecol < 324))
  70. # group1 = subset(spatial, slice1_imagerow > 305 & slice1_imagecol < 324, invert = TRUE)
  71. # group2 = subset(spatial, slice1_imagerow > 305 & slice1_imagecol < 324, invert = FALSE)
  72. #
  73. # saveRDS(group1,"C:/Users/Haoting/Downloads/E17_E11/E17.rds")
  74. # saveRDS(group2,"C:/Users/Haoting/Downloads/E17_E11/E11.rds")
  75. #
  76. # SpatialDimPlot(spatial,cells.highlight = WhichCells(spatial, expression = slice1_imagerow > 300 & slice1_imagecol < 300))
  77. # group1 = subset(spatial, slice1_imagerow < 306 & slice1_imagecol > 265, invert = FALSE)
  78. # group2 = subset(spatial, slice1_imagerow < 306 & slice1_imagecol > 265, invert = TRUE)
  79. # saveRDS(group1,"C:/Users/Haoting/Downloads/E16/E16_tissue1.rds")
  80. # saveRDS(group2,"C:/Users/Haoting/Downloads/E16/E16_tissue2.rds")
  81. #
  82. #
  83. # SpatialDimPlot(spatial,cells.highlight = WhichCells(spatial, expression = slice1_imagerow > 269))
  84. # group1 = subset(spatial, slice1_imagerow > 269, invert = FALSE)
  85. # group2 = subset(spatial, slice1_imagerow < 269, invert = FALSE)
  86. # saveRDS(group1,"C:/Users/Haoting/Downloads/P0/P0_tissue1.rds")
  87. # saveRDS(group2,"C:/Users/Haoting/Downloads/P0/P0_tissue2.rds")
  88. #
  89. #
  90. # group1 = subset(spatial, slice1_imagerow < 287 & slice1_imagecol > 65, invert = FALSE)
  91. # group2 = subset(spatial, slice1_imagerow > 287 & slice1_imagecol > 65, invert = FALSE)
  92. # saveRDS(group1,"C:/Users/Haoting/Downloads/E11_5/E11_tissue1.rds")
  93. # saveRDS(group2,"C:/Users/Haoting/Downloads/E11_5/E11_tissue2.rds")
  94. #
  95. # group1 = subset(spatial, slice1_imagerow > 300 & slice1_imagecol < 300, invert = FALSE)
  96. # group2 = subset(spatial, slice1_imagerow > 300 & slice1_imagecol < 300, invert = TRUE)
  97. # saveRDS(group1,"C:/Users/Haoting/Downloads/E14_5/E14_tissue1.rds")
  98. # saveRDS(group2,"C:/Users/Haoting/Downloads/E14_5/E14_tissue2.rds")
  99. #
  100. #
  101. # group1 = subset(spatial, slice1_imagerow > 305 & slice1_imagecol < 265, invert = FALSE)
  102. # group2 = subset(spatial, slice1_imagerow > 265 & slice1_imagecol > 265, invert = FALSE)
  103. # group3 = subset(spatial, slice1_imagerow < 265, invert = FALSE)
  104. #
  105. # saveRDS(group1,"C:/Users/Haoting/Downloads/E14/E14_tissue1.rds")
  106. # saveRDS(group2,"C:/Users/Haoting/Downloads/E14/E14_tissue2.rds")

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

Overview

Authors: Junqi Hu1,2, Haoting He1, Juan Xu1, William A. MacDonald3, Yuanhang He1,2, Tianhao Liu2,4, Wei Chen4, Guang Li1
  1. Department of Cell Biology, University of Pittsburgh School of Medicine,Pittsburgh, PA USA
  2. Tsinghua Medicine, Tsinghua University,Beijing, China
  3. Health Sciences Sequencing Core, University of Pittsburgh School of Medicine,Pittsburgh, PA USA
  4. Department of Pediatrics, University of Pittsburgh,Pittsburgh, PA USA
Institutions: University of Pittsburgh (United States); Tsinghua University (China)
Journal: Communications biology, volume 9, issue 1, article 1032
Dates: received 19 December 2025; accepted 5 May 2026; published online 15 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s42003-026-10259-z · PMID 42141139 · PMCID PMC13429582 · OpenAlex W7161294153
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: genetics / omics (modality), mouse (organism), cellular / molecular (subfield)
Methods: Statistics, Evoked potentials
Keywords: Cell growth, Transcription
MeSH: Gene Expression Profiling*, Heart*, Signal Transduction*, Transcriptome*, Animals, Gene Expression Regulation, Developmental, Mice, Myocardium, Myocytes, Cardiac, Spatial Transcriptomics (* major topic)
Topic: Single-cell and spatial transcriptomics (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Citations: cited by 1 paper (Europe PMC); 70 references in the paper
Research resources: RRID:SCR_022735, Rangos Research Center RRID:SCR_023116

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

BayraktarLab/cell2location

License: Apache-2.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: afb07fda7f89458e44a4afdf21c26aeb7251ebfa, 22 February 2026
Languages: Python (50), Jupyter (7), Shell (1)
Size: 107 files, 58 scripts
Software Heritage: not archived
Found in: the text, “Deconvolution analysis”
Holds: README, license file, environment (Dockerfile, environment.yml, pyproject.toml, setup.cfg, setup.py, docs/environment.yml), tests, continuous integration, documentation, 7 notebooks
Not found: CITATION.cff
Tools: NumPy (36 files), pandas (22 files), Matplotlib (20 files), Pyro (14 files), PyTorch (14 files), Scanpy (11 files), anndata (10 files), SciPy (10 files), seaborn (3 files), scikit-learn (2 files), PyTorch Lightning (1 file), OpenCV (1 file), UMAP (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
56 files

Zenodo 14341430

License: CC-BY-4.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Languages: R (5), Jupyter (3)
Size: 8 files, 8 scripts
Software Heritage: not checked
Found in: “Code availability”
Holds: 3 notebooks
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: ggplot2 (5 files), patchwork (4 files), Seurat (4 files), tidyverse (4 files), anndata (3 files), NumPy (3 files), pandas (3 files), Scanpy (3 files), data.table (2 files), Matplotlib (2 files), SciPy (1 file), seaborn (1 file), Squidpy (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
  • 28 September 2026: the link answers (HTTP 200)
8 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:

  • it points to the authors' code: Zenodo 14341430

Read it in the paper: doi.org/10.1038/s42003-026-10259-z.

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;
  • 62 scripts, each with its path and the digest of its content;
  • 10 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 statement

The paper has a 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/s42003-026-10259-z.

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, 8 authors, 2 keywords, 10 MeSH terms, 1 funder, 70 references, 2 RRIDs.

Cite

This paper

Hu, J., He, H., Xu, J., MacDonald, W. A., He, Y., Liu, T., Chen, W., & Li, G. (2026). Spatial transcriptomic profiling of developing mouse hearts reveals a spatially patterned signaling environment. Communications biology, 9(1), 1032. https://doi.org/10.1038/s42003-026-10259-z

BibTeX

@article{hu2026spatial,
author = {Hu, Junqi and He, Haoting and Xu, Juan and MacDonald, William A. and He, Yuanhang and Liu, Tianhao and Chen, Wei and Li, Guang},
title = {{Spatial transcriptomic profiling of developing mouse hearts reveals a spatially patterned signaling environment}},
journal = {Communications biology},
year = {2026},
month = may,
volume = {9},
number = {1},
pages = {1032},
publisher = {Nature Publishing Group},
issn = {2399-3642},
doi = {10.1038/s42003-026-10259-z},
url = {https://doi.org/10.1038/s42003-026-10259-z},
pmid = {42141139},
pmcid = {PMC13429582}
}

RIS

TY - JOUR
AU - Hu, Junqi
AU - He, Haoting
AU - Xu, Juan
AU - MacDonald, William A.
AU - He, Yuanhang
AU - Liu, Tianhao
AU - Chen, Wei
AU - Li, Guang
TI - Spatial transcriptomic profiling of developing mouse hearts reveals a spatially patterned signaling environment
T2 - Communications biology
J2 - Commun Biol
PY - 2026
DA - 2026/05/15
VL - 9
IS - 1
SP - 1032
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/s42003-026-10259-z
UR - https://doi.org/10.1038/s42003-026-10259-z
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s42003-026-10259-z",
"type": "article-journal",
"title": "Spatial transcriptomic profiling of developing mouse hearts reveals a spatially patterned signaling environment",
"container-title": "Communications biology",
"author": [
{
"family": "Hu",
"given": "Junqi"
},
{
"family": "He",
"given": "Haoting"
},
{
"family": "Xu",
"given": "Juan"
},
{
"family": "MacDonald",
"given": "William A."
},
{
"family": "He",
"given": "Yuanhang"
},
{
"family": "Liu",
"given": "Tianhao"
},
{
"family": "Chen",
"given": "Wei"
},
{
"family": "Li",
"given": "Guang"
}
],
"container-title-short": "Commun Biol",
"volume": "9",
"issue": "1",
"page": "1032",
"DOI": "10.1038/s42003-026-10259-z",
"PMID": "42141139",
"PMCID": "PMC13429582",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s42003-026-10259-z",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
15
]
]
}
}

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.21203/rs.3.rs-9676637/v1 [code]
A Comprehensive Benchmarking of Spatial Deconvolution and Domain Detection Methods across Diverse Tissues and Spatial Transcriptomic Technologies
Journal: Research Square (preprint)
In common: Squidpy, UMAP, anndata, 13 other tools, genetics / omics, 3 references
[2] doi:10.1186/s13059-026-04177-w [code]
Genomic sequence evolution underlying human neocortical interareal diversification.
Journal: Genome biology
In common: Squidpy, UMAP, anndata, 12 other tools, genetics / omics, mouse, cellular / molecular, 2 references
[3] doi:10.1038/s41467-026-68596-w [code]
Spatial cartography of human thymus enables the geopositioning of lineage transcription factors in rare mimetic thymic epithelial cells.
Journal: Nature communications
In common: Squidpy, anndata, Scanpy, 11 other tools, genetics / omics, cellular / molecular, 4 references
[4] doi:10.1038/s41592-026-03194-8 [code]
Beyond benchmarking: an expert-guided consensus approach to spatially aware clustering.
Journal: Nature methods
In common: Squidpy, anndata, Scanpy, 11 other tools, genetics / omics, 3 references
[5] doi:10.1186/s13073-026-01704-z [code]
Gene expression profiling enables refined parcellation of cortical layers in the heterogeneous human cerebral cortex.
Journal: Genome medicine
In common: UMAP, anndata, Scanpy, 12 other tools, genetics / omics, mouse, cellular / molecular, 2 references
[6] doi:10.1038/s41586-026-10214-2 [code]
Multidimensional profiling of heterogeneity in supratentorial ependymomas.
Journal: Nature
In common: Squidpy, PyTorch Lightning, anndata, 12 other tools, genetics / omics, mouse, 1 reference
[7] doi:10.1038/s41467-026-71803-3 [code]
Charting the transition from in vitro gliogenesis to the in vivo maturation of human glial progenitor cells transplanted into the hypomyelinated mouse brain.
Journal: Nature communications
In common: Squidpy, anndata, Scanpy, 12 other tools, genetics / omics, mouse, cellular / molecular, 1 reference
[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. Medicine
In common: UMAP, anndata, Scanpy, 12 other tools, genetics / omics, cellular / molecular, 2 references
[9] doi:10.1002/imt2.70163 [code]
Spatial multi-omics unveils sphingolipid metabolic reprogramming within the retinal pathological niche.
Journal: iMeta
In common: anndata, Scanpy, Seurat, 11 other tools, genetics / omics, mouse, cellular / molecular, 2 references
[10] doi:10.1016/j.xcrm.2026.102651 [code]
Integrative CSF profiling identifies disease-specific immune responses in leptomeningeal disease.
Journal: Cell reports. Medicine
In common: PyTorch Lightning, UMAP, anndata, 12 other tools, genetics / omics, 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.

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.