Spatial transcriptomic profiling of developing mouse hearts reveals a spatially patterned signaling environment.
The 10 matches
- [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] § 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] § 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] § 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] § 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] § Methods › Data analysis › Section splitting ↔ Visium_split_tissue.R, lines 1–74 · score 0.57 · filter range, Seurat, split, tissue, positions, Visium
- [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] § 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] § 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] § 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
- library(Seurat)
- library(SeuratData)
- library(ggplot2)
- library(patchwork)
- library(dplyr)
- library(spacexr)
- library(jsonlite)
- library(png)
- VisiumData<-read.VisiumSpatialRNA("location")
- spatial = Load10X_Spatial(data.dir = paste0("location"))
- barcodes <- colnames(VisiumData@counts)
- plot1 <- VlnPlot(spatial, features = "nCount_Spatial", pt.size = 0.1) + NoLegend()
- plot2 <- SpatialFeaturePlot(spatial, features = "nCount_Spatial") + theme(legend.position = "right")
- wrap_plots(plot1, plot2)
- orig_count = slide_seq@assays$RNA@counts
- ## read location file
- tissue.positions.path = "~/tissue_positions.csv"
- image.dir = "~/"
- tissue.positions <- read.csv(
- file = tissue.positions.path,
- col.names = c('barcodes', 'tissue', 'row', 'col', 'imagerow', 'imagecol'),
- header = ifelse(
- test = basename(tissue.positions.path) == "tissue_positions.csv",
- yes = TRUE,
- no = FALSE
- ),
- as.is = TRUE,
- row.names = 1
- )
- tissue.positions <- tissue.positions[which(x = tissue.positions$tissue == 1), , drop = FALSE]
- scale.factors <- fromJSON(txt = file.path(image.dir,'scalefactors_json.json'))
- image <- readPNG(source = file.path(image.dir, 'tissue_lowres_image.png'))
- unnormalized.radius <- scale.factors$fiducial_diameter_fullres * scale.factors$tissue_lowres_scalef
- spot.radius <- unnormalized.radius / max(dim(x = image))
- ## set filter range
- ## note SPATIAL_1 for Y axis SPATIAL_2 for X axis
- ## example for cutoff E12.5
- loc = locations[locations$SPATIAL_2 > 1590 & locations$SPATIAL_2 < 3990 & locations$SPATIAL_1>2000 & locations$SPATIAL_1 < 3940,]
- newcounts = slide_seq@assays$RNA@counts[,colnames(slide_seq@assays$RNA@counts) %in% rownames(loc)]
- object <- CreateSeuratObject(counts = data, assay = assay)
- image = new(
- Class = 'VisiumV1',
- image = image,
- scale.factors = scalefactors(
- spot = scale.factors$spot_diameter_fullres,
- fiducial = scale.factors$fiducial_diameter_fullres,
- hires = scale.factors$tissue_hires_scalef,
- scale.factors$tissue_lowres_scalef
- ),
- coordinates = tissue.positions,
- spot.radius = spot.radius
- )
- image <- image[Cells(x = object)]
- DefaultAssay(object = image) <- "SPATIAL"
- object[[slice]] <- image
- plot1 <- VlnPlot(spatial, features = "nCount_Spatial", pt.size = 0.1) + NoLegend()
- plot2 <- SpatialFeaturePlot(spatial, features = "nCount_Spatial") + theme(legend.position = "right")
- wrap_plots(plot1, plot2)
- spatial <- SCTransform(spatial, assay = "Spatial", verbose = FALSE)
- spatial <- RunPCA(spatial, assay = "SCT", verbose = FALSE)
- spatial <- FindNeighbors(spatial, reduction = "pca", dims = 1:30)
- spatial <- FindClusters(spatial, verbose = FALSE)
- spatial <- RunUMAP(spatial, reduction = "pca", dims = 1:30)
- spatial <- FindSpatiallyVariableFeatures(spatial, assay = "SCT", features = VariableFeatures(spatial)[1:1000],
- selection.method = "moransi")
- top.features <- head(SpatiallyVariableFeatures(spatial, method = "moransi"), 6)
- ##filter scales for other stages
- # SpatialFeaturePlot(spatial, features = top.features, ncol = 3, alpha = c(0.1, 1),pt.size.factor = 4)
- # SpatialDimPlot(spatial,cells.highlight = WhichCells(spatial, expression = slice1_imagerow > 305 & slice1_imagecol < 324))
- # group1 = subset(spatial, slice1_imagerow > 305 & slice1_imagecol < 324, invert = TRUE)
- # group2 = subset(spatial, slice1_imagerow > 305 & slice1_imagecol < 324, invert = FALSE)
- #
- # saveRDS(group1,"C:/Users/Haoting/Downloads/E17_E11/E17.rds")
- # saveRDS(group2,"C:/Users/Haoting/Downloads/E17_E11/E11.rds")
- #
- # SpatialDimPlot(spatial,cells.highlight = WhichCells(spatial, expression = slice1_imagerow > 300 & slice1_imagecol < 300))
- # group1 = subset(spatial, slice1_imagerow < 306 & slice1_imagecol > 265, invert = FALSE)
- # group2 = subset(spatial, slice1_imagerow < 306 & slice1_imagecol > 265, invert = TRUE)
- # saveRDS(group1,"C:/Users/Haoting/Downloads/E16/E16_tissue1.rds")
- # saveRDS(group2,"C:/Users/Haoting/Downloads/E16/E16_tissue2.rds")
- #
- #
- # SpatialDimPlot(spatial,cells.highlight = WhichCells(spatial, expression = slice1_imagerow > 269))
- # group1 = subset(spatial, slice1_imagerow > 269, invert = FALSE)
- # group2 = subset(spatial, slice1_imagerow < 269, invert = FALSE)
- # saveRDS(group1,"C:/Users/Haoting/Downloads/P0/P0_tissue1.rds")
- # saveRDS(group2,"C:/Users/Haoting/Downloads/P0/P0_tissue2.rds")
- #
- #
- # group1 = subset(spatial, slice1_imagerow < 287 & slice1_imagecol > 65, invert = FALSE)
- # group2 = subset(spatial, slice1_imagerow > 287 & slice1_imagecol > 65, invert = FALSE)
- # saveRDS(group1,"C:/Users/Haoting/Downloads/E11_5/E11_tissue1.rds")
- # saveRDS(group2,"C:/Users/Haoting/Downloads/E11_5/E11_tissue2.rds")
- #
- # group1 = subset(spatial, slice1_imagerow > 300 & slice1_imagecol < 300, invert = FALSE)
- # group2 = subset(spatial, slice1_imagerow > 300 & slice1_imagecol < 300, invert = TRUE)
- # saveRDS(group1,"C:/Users/Haoting/Downloads/E14_5/E14_tissue1.rds")
- # saveRDS(group2,"C:/Users/Haoting/Downloads/E14_5/E14_tissue2.rds")
- #
- #
- # group1 = subset(spatial, slice1_imagerow > 305 & slice1_imagecol < 265, invert = FALSE)
- # group2 = subset(spatial, slice1_imagerow > 265 & slice1_imagecol > 265, invert = FALSE)
- # group3 = subset(spatial, slice1_imagerow < 265, invert = FALSE)
- #
- # saveRDS(group1,"C:/Users/Haoting/Downloads/E14/E14_tissue1.rds")
- # saveRDS(group2,"C:/Users/Haoting/Downloads/E14/E14_tissue2.rds")
Visium_split_tissue.R, under CC-BY-4.0 · at the source
Overview
- Department of Cell Biology, University of Pittsburgh School of Medicine,Pittsburgh, PA USA
- Tsinghua Medicine, Tsinghua University,Beijing, China
- Health Sciences Sequencing Core, University of Pittsburgh School of Medicine,Pittsburgh, PA USA
- Department of Pediatrics, University of Pittsburgh,Pittsburgh, PA USA
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
afb07fda7f89458e44a4afdf21c26aeb7251ebfa, 22 February 2026Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
56 files
- cell2location/
__init__.py , Python, 51 lines - cell2location/
cell_comm/ , Python, 1 line__init__.py - cell2location/
cell_comm/ , Python, 219 linesaround_target.py - cell2location/
cluster_averages/ , Python, 4 lines__init__.py - cell2location/
cluster_averages/ , Python, 141 linescluster_averages.py - cell2location/
cluster_averages/ , Python, 159 linesmarkers_by_hierarhy.py - cell2location/
cluster_averages/ , Python, 34 linesselect_features.py - cell2location/
distributions/ , Python, 568 linesAutoAmortisedNormalMesse nger.py - cell2location/
distributions/ , Python, 423 linesAutoNormalEncoder.py - cell2location/
distributions/ , Python, 167 linesNegativeBinomial.py - cell2location/
distributions/ , Python, 1 line__init__.py - cell2location/
distributions/ , Python, 22 linestransforms.py - cell2location/
models/ , Python, 15 lines__init__.py - cell2location/
models/ , Python, 473 lines_cell2location_WTA_model .py - cell2location/
models/ , Python, 569 lines, 1 match_cell2location_WTA_modul e.py - cell2location/
models/ , Python, 493 lines_cell2location_model.py - cell2location/
models/ , Python, 567 lines, 1 match_cell2location_module.py - cell2location/
models/ , Python, 1 linebase/ __init__.py - cell2location/
models/ , Python, 91 linesbase/ _pyro_base_loc_module.py - cell2location/
models/ , Python, 72 linesbase/ _pyro_base_reference_mod ule.py - cell2location/
models/ , Python, 877 linesbase/ _pyro_mixin.py - cell2location/
models/ , Python, 509 linesbase/ base_model.py - cell2location/
models/ , Python, 336 linesdownstream/ ArchetypalAnalysis.py - cell2location/
models/ , Python, 371 linesdownstream/ CoLocatedGroupsSklearnNM F.py - cell2location/
models/ , Python, 4 linesdownstream/ __init__.py - cell2location/
models/ , Python, 5 linesreference/ __init__.py - cell2location/
models/ , Python, 311 linesreference/ _reference_model.py - cell2location/
models/ , Python, 408 linesreference/ _reference_module.py - cell2location/
models/ , Python, 1 linesimplified/ __init__.py - cell2location/
models/ , Python, 377 linessimplified/ _cell2location_v3_no_fac torisation_module.py - cell2location/
models/ , Python, 364 linessimplified/ _cell2location_v3_no_mg_ module.py - cell2location/
nn/ , Python, 3 lines__init__.py - cell2location/
nn/ , Python, 174 linesfclayers.py - cell2location/
nn/ , Python, 224 linesfclayers_context.py - cell2location/
plt/ , Python, 134 linesRotateCrop.py - cell2location/
plt/ , Python, 13 lines__init__.py - cell2location/
plt/ , Python, 412 linesmapping_video.py - cell2location/
plt/ , Python, 91 linesplot_expected_vs_obs.py - cell2location/
plt/ , Python, 159 linesplot_factor_spatial.py - cell2location/
plt/ , Python, 237 linesplot_heatmap.py - cell2location/
plt/ , Python, 217 linesplot_in_1D.py - cell2location/
plt/ , Python, 400 linesplot_spatial.py - cell2location/
run_colocation.py , Python, 494 lines - cell2location/
utils/ , Python, 49 lines__init__.py - cell2location/
utils/ , Python, 286 lines_spatial_knn.py - cell2location/
utils/ , Python, 65 linesfiltering.py - docs/
conf.py , Python, 72 lines - docs/
notebooks/ , Jupyter, 402 linescell2location_estimating _signatures.ipynb - docs/
notebooks/ , Jupyter, 134 linescell2location_for_Nanost ringWTA.ipynb - docs/
notebooks/ , Jupyter, 145 linescell2location_for_Nanost ringWTA_Pyro.ipynb - docs/
notebooks/ , Jupyter, 545 linescell2location_short_demo .ipynb - docs/
notebooks/ , Jupyter, 663 linescell2location_short_demo _colab.ipynb - docs/
notebooks/ , Jupyter, 448 linescell2location_short_demo _downstream.ipynb - docs/
notebooks/ , Jupyter, 659 linescell2location_tutorial.i pynb - repository limit reached (2,000 files or 30 MB): the rest is at the source (4 files)
- LICENSE, License, 201 lines
- README.md, Text, 275 lines
Zenodo 14341430
Availability: 1 check, the latest on 28 September 2026: the link answers (HTTP 200)
- 28 September 2026: the link answers (HTTP 200)
8 files
- Commot_on_Stage_P2.ipynb
, Jupyter, 192 lines, 1 match - Deconvolution_SlideSeq.R
, R, 52 lines - Deconvolution_Visium_spa
tial_P2.ipynb , Jupyter, 285 lines, 2 matches - R_preprocess_update_sele
cte-targetCell_NicheCell , R, 166 lines, 1 match.R - Visium_split_tissue.R, R, 121 lines, 2 matches
- cut_curio_SlideSeq_src.R
, R, 108 lines, 2 matches - dotplot_curio_plot_heatm
ap_top_Interactions.R , R, 61 lines - ligand_receptor_analysis
_Target_Niche_cells.ipyn , Jupyter, 81 linesb
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.mendeley.com/
datasets/ , at Mendeley Data; found in “Data availability”dgnysc3zn5
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:
- it points to a dataset: data.mendeley.com/
datasets/ dgnysc3zn5
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://
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/
url = {https://
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/
VL - 9
IS - 1
SP - 1032
SN - 2399-3642
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"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":
"volume": "9",
"issue": "1",
"page": "1032",
"DOI": "10.1038/
"PMID": "42141139",
"PMCID": "PMC13429582",
"ISSN": "2399-3642",
"publisher": "Nature Publishing Group",
"URL": "https://
"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 TechnologiesJournal: 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 biologyIn 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 communicationsIn 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 methodsIn 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 medicineIn 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: NatureIn 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 communicationsIn 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. MedicineIn 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: iMetaIn 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. MedicineIn 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.
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, 62 scripts, and 10 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:380f851fa027ec15…
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.
