OSCR

MicroFace maps microglial morphology remodeling, revealing spatial zones and bifurcated trajectories during brain microinjury recovery.

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.

7 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.

The 7 matches
  1. [1] § STAR★Methods › Quantification and statistical analysis › Morphometric analysis › Outlier detection ↔ Data analysis/Scripts/03_Wins_Filtering_PCA.R, lines 43 to 83 · score 0.75 · chi squared distribution, Mahalanobis distance, cutoff, winsorized, outliers, detection · block oscr:b:39C1FJX244QK8-1 · Report a mismatch
  2. [2] § Results › Rod-like and reactive transitional microglia represent distinct intermediate states during injury response ↔ Imaging data analysis/Scripts/02_Functions.R, lines 44 to 92 · score 0.66 · major axis length, Feret diameter, trunk branches, soma, injury, cells · block oscr:b:V2KPT6KRCZCMK-E · Report a mismatch
  3. [3] § Results › Validation of the MicroFace segmentation and morphometric quantification pipeline ↔ Data analysis/Scripts/Figure_2.R, lines 90 to 133 · score 0.66 · convex area, Feret diameter, MicroFace, solidity, radius, Correlation · block oscr:b:PSN2TS8HW99AM-K · Report a mismatch
  4. [4] § Results › Coordinated morphometric programs reveal spatially organized microglial remodeling after implantation ↔ Data analysis/Scripts/Figure_3.R, lines 1 to 40 · score 0.63 · morphometric features, coefficient, morphological features, microglial morphology, rank, NMF · block oscr:b:JEB0YZ10BBER5-D · Report a mismatch
  5. [5] § Results › Rod-like and reactive transitional microglia represent distinct intermediate states during injury response ↔ Data analysis/Scripts/02_Import_Data.R, lines 142 to 180 · score 0.61 · major axis length, Feret diameter, perimeter, rod, soma, morphological · block oscr:b:EWT8Q7HKQPNKS-T · Report a mismatch
  6. [6] § Results › Validation of the MicroFace segmentation and morphometric quantification pipeline ↔ Data analysis/Scripts/Figure_2.R, lines 45 to 88 · score 0.55 · Cell perimeter, Cell area, MicroFace, Scatterplots, Correlation, Figure 2 · block oscr:b:4TGRCKX9Y82HR-Q · Report a mismatch
  7. [7] § Results › Coordinated morphometric programs reveal spatially organized microglial remodeling after implantation ↔ Imaging data analysis/Scripts/02_Functions.R, lines 1 to 42 · score 0.53 · morphological parameters, ramification, microglial morphology, ratio, perimeter, soma · block oscr:b:YECBBRXJYM3H2-X · Report a mismatch

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

R · 92 lines · 2.9 KB · no license · 2 matches

  1. # ===================================================
  2. # MICROGLIA MORPHOLOGICAL ANALYSIS PIPELINE
  3. # ===================================================
  4. # -------------------------------
  5. # 1. DISTANCE CALCULATIONS & BINNING
  6. # -------------------------------
  7. # Calculate radial distance from injury center (2764, 2196)
  8. import$df_all <- import$df_all %>%
  9. mutate(
  10. radial_dist = sqrt((Center_X_soma - Injury_x)^2 + (Center_Y_soma - Injury_y)^2),
  11. # Create 25 bins based on distance
  12. bin_number = ntile(radial_dist, 25),
  13. bin_range = bin_number * 139,
  14. # Consolidate bins >16 into single bin (17)
  15. Bin_Number_New = ifelse(bin_number > 16, 17, bin_number),
  16. bin_range_new = Bin_Number_New * 139,
  17. # Classify impact regions
  18. Impact_Region = case_when(
  19. Bin_Number_New <= 5 ~ "Near",
  20. Bin_Number_New >= 8 ~ "Far",
  21. TRUE ~ "Middle"
  22. )
  23. )
  24. # -------------------------------
  25. # 2. MORPHOLOGICAL METRICS CALCULATION
  26. # -------------------------------
  27. # Calculate various morphological parameters
  28. import$df_all <- import$df_all %>%
  29. mutate(
  30. # Ramification Index
  31. RI = (Perimeter_cell / Area_cell) / (2 * sqrt(pi / Area_cell)),
  32. # Area ratios
  33. area_ratio = Area_cell / Area_soma,
  34. Cyto_Area = Area_cell - Area_soma,
  35. # Length/Width ratios
  36. Length_Width_Ratio_cell = MaxFeretDiameter_cell / MinFeretDiameter_cell,
  37. Length_Width_Ratio_soma = MaxFeretDiameter_soma / MinFeretDiameter_soma,
  38. # Aspect ratios
  39. Aspect_Ratio_cell = MajorAxisLength_cell / MinorAxisLength_cell,
  40. Aspect_Ratio_soma = MajorAxisLength_soma / MinorAxisLength_soma,
  41. # Branching metrics
  42. Branch_Ratio = Non_Trunk_Branch / Trunk_Branch,
  43. Total_Branch = Non_Trunk_Branch + Trunk_Branch,
  44. # Health score (0-1 scale)
  45. Health_score = case_when(
  46. Total_Branch >= 20 ~ 1,
  47. TRUE ~ (1 - ((20 - Total_Branch) / 2)/10)
  48. )
  49. )
  50. # -------------------------------
  51. # 3. COLOR PALETTES
  52. # -------------------------------
  53. company_colors <- c("#E50000", "#008A8A", "#AF0076", "#E56800", "#1717A0", "#E5AC00", "#00B700")
  54. company_colors2 <- c("#E50000", "#0080FF","#E56800", "#AF0076", "#1717A0")
  55. morpho_colours <- c("#FF0000", "#00FF00", "#0000FF", "#FFFF00", "#FF00FF", "#00FFFF",
  56. "#FF8000", "#8000FF", "#00FF80", "#FF0080", "#0080FF", "#80FF00",
  57. "#800000", "#008000")
  58. # -------------------------------
  59. # 4. DATA REORGANIZATION
  60. # -------------------------------
  61. # Reorder columns to prioritize important variables
  62. import$df_all_reordered <- import$df_all %>%
  63. dplyr::select(
  64. # Selected important columns first
  65. c(9:14,19,29,32,33,34,37,38,39,40,41,42,47,57,60,65:72),
  66. # All remaining columns
  67. everything()
  68. )
  69. # -------------------------------
  70. # 5. DATA EXPORT
  71. # -------------------------------
  72. write.csv(import$df_all_reordered,
  73. "D:/Brain Injury project/4 Datasheet/df_all_reordered.csv",
  74. row.names = FALSE)

02_Functions.R at commit 9e04611, no license · at the source

Overview

Authors: Vatsal D. Jariwala1,2,3, Shreya Ponnamma1,2, Vidhya M. Ravi2,3,4,5, Jürgen Beck3,4, Ulrich G. Hofmann3,4,6, Kevin Joseph1,3,4
  1. Laboratory for NeuroEngineering, Department of Neurosurgery, Medical Center-University of Freiburg, Freiburg, Germany
  2. 3D Brain Models Lab, Department of Neurosurgery, Medical Center-University of Freiburg, Freiburg, Germany
  3. Department of Neurosurgery, Medical Center-University of Freiburg, Freiburg, Germany
  4. Faculty of Medicine, University of Freiburg, Freiburg, Germany
  5. Freiburg Institute for Advanced Science (FRIAS), University of Freiburg, Freiburg, Germany
  6. Neuroelectronic Systems, Department of Neurosurgery, Medical Center-University of Freiburg, Freiburg, Germany
Journal: iScience, volume 29, issue 7, article 116485
Dates: received 18 July 2025; accepted 4 June 2026; published online 23 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1016/j.isci.2026.116485 · PMID 42389604 · PMCID PMC13320269 · OpenAlex W7165613008
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: cellular / molecular (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Machine learning, Connectivity
Keywords: health sciences, biological sciences, cellular physiology, cell biology, functional aspects of cell biology
Topic: Neuroinflammation and Neurodegeneration Mechanisms (Neurology, Neuroscience), according to OpenAlex
Funding: German Research Foundation
Citations: not cited yet (Europe PMC); 60 references in the paper
Research resources: GFAP RRID:AB_10013382, Iba1 RRID:AB_839504

Abstract

Microglia undergo morphological remodeling in response to brain injury, yet large-scale quantification of these changes remains limited. Here, we present MicroFace, an automated image analysis pipeline for high-throughput reconstruction and morphometric profiling of microglia from immunofluorescence images. We applied MicroFace to 279,510 microglia from the rodent cortex following localized microinjury induced by neural probe implantation. Spatiotemporal analysis revealed distinct morphotypes spanning ramified and amoeboid states, organized along spatial gradients relative to the injury site and evolving over time. We identify a bifurcated response characterized by divergent intermediate morphologies, including reactive transient cells and elongated rod-like microglia enriched near the injury. Integration with transcriptomic datasets suggests that rod-like microglia represent a morphologically and transcriptionally distinct subset associated with immunomodulatory functions. These findings define dynamic and heterogeneous microglial adaptations to brain injury and highlight morphology as a key indicator of functional state.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above, with 7 matches between paragraphs and lines of code.

Vatsjari/MicroFace

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 899bcea357f9d0360f5138fb7038c37e6c06f7c9, 11 May 2026
Languages: R (12)
Size: 33 files, 12 scripts
Software Heritage: not checked
Found in: “Data and code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (6 files), ggplot2 (2 files), reshape2 (2 files), patchwork (1 file), reticulate (1 file), UMAP (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
13 files

3DBMandNE-Lab/MicroFace

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 9e04611e5936f69f4d8c8079885a2a9547880617, 6 July 2025
Languages: R (7)
Size: 76 files, 7 scripts
Software Heritage: not archived
Found in: “Data and code availability”
Holds: README
Not found: license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: tidyverse (4 files), ggpubr (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
8 files

Zenodo 20325902

License: CC-BY-4.0
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the references
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)
At the source:

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

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

No dataset and no data link were found in the paper.

Data and code availability

• Processed morphometric datasets generated in this study are available at Zenodo.51 A subset of raw immunofluorescence images and corresponding segmentation masks generated using the MicroFace toolbox are also available at Zenodo.51 Publicly available transcriptomic datasets analyzed in this study are available from Gene Expression Omnibus (GEO) under accession numbers GSE226211 and GSE226208. • All scripts and the MicroFace toolbox used in this study are publicly available through GitHub: https://github.com/Vatsjari/MicroFace; https://github.com/3DBMandNE-Lab/MicroFace. • Any additional information required is available from the lead contact upon request.

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 5 keywords, 1 funder, 60 references, 2 RRIDs.

Cite

This paper

Jariwala, V. D., Ponnamma, S., Ravi, V. M., Beck, J., Hofmann, U. G., & Joseph, K. (2026). MicroFace maps microglial morphology remodeling, revealing spatial zones and bifurcated trajectories during brain microinjury recovery. iScience, 29(7), 116485. https://doi.org/10.1016/j.isci.2026.116485

BibTeX

@article{jariwala2026microface,
author = {Jariwala, Vatsal D. and Ponnamma, Shreya and Ravi, Vidhya M. and Beck, Jürgen and Hofmann, Ulrich G. and Joseph, Kevin},
title = {{MicroFace maps microglial morphology remodeling, revealing spatial zones and bifurcated trajectories during brain microinjury recovery}},
journal = {iScience},
year = {2026},
month = jun,
volume = {29},
number = {7},
pages = {116485},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/j.isci.2026.116485},
url = {https://doi.org/10.1016/j.isci.2026.116485},
pmid = {42389604},
pmcid = {PMC13320269}
}

RIS

TY - JOUR
AU - Jariwala, Vatsal D.
AU - Ponnamma, Shreya
AU - Ravi, Vidhya M.
AU - Beck, Jürgen
AU - Hofmann, Ulrich G.
AU - Joseph, Kevin
TI - MicroFace maps microglial morphology remodeling, revealing spatial zones and bifurcated trajectories during brain microinjury recovery
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/06/23
VL - 29
IS - 7
SP - 116485
SN - 2589-0042
PB - Elsevier
DO - 10.1016/j.isci.2026.116485
UR - https://doi.org/10.1016/j.isci.2026.116485
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.isci.2026.116485",
"type": "article-journal",
"title": "MicroFace maps microglial morphology remodeling, revealing spatial zones and bifurcated trajectories during brain microinjury recovery",
"container-title": "iScience",
"author": [
{
"family": "Jariwala",
"given": "Vatsal D."
},
{
"family": "Ponnamma",
"given": "Shreya"
},
{
"family": "Ravi",
"given": "Vidhya M."
},
{
"family": "Beck",
"given": "Jürgen"
},
{
"family": "Hofmann",
"given": "Ulrich G."
},
{
"family": "Joseph",
"given": "Kevin"
}
],
"container-title-short": "iScience",
"volume": "29",
"issue": "7",
"page": "116485",
"DOI": "10.1016/j.isci.2026.116485",
"PMID": "42389604",
"PMCID": "PMC13320269",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.isci.2026.116485",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
23
]
]
}
}

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/s43587-023-00424-y [code]
Human microglia show unique transcriptional changes in Alzheimer's disease.
Journal: Nature aging
In common: reticulate, patchwork, reshape2, 3 other tools, cellular / molecular, 4 references
[2] doi:10.2174/1570159x19666211202123322
Crosstalk between Microglia and Neurons in Neurotrauma: An Overview of the Underlying Mechanisms.
Journal: Current neuropharmacology
In common: cellular / molecular, 8 references
[3] doi:10.1038/s41593-026-02367-0 [code]
A reproducible three-dimensional model of human brain tissue to investigate physiological and disease-associated microglia phenotypes.
Journal: Nature neuroscience
In common: reticulate, patchwork, reshape2, 3 other tools, cellular / molecular, 4 references
[4] doi:10.1523/eneuro.0014-24.2024 [code]
Development of a High-Throughput Pipeline to Characterize Microglia Morphological States at a Single-Cell Resolution.
Journal: eNeuro
In common: ggpubr, ggplot2, tidyverse, cellular / molecular, 5 references
[5] doi:10.1038/s41593-021-00951-0 [code]
Microglia contribute to the propagation of Aβ into unaffected brain tissue.
Journal: Nature neuroscience
In common: cellular / molecular, 3 references, author Kevin Joseph
[6] doi:10.1038/s41467-024-46625-w [code]
Shared inflammatory glial cell signature after stab wound injury, revealed by spatial, temporal, and cell-type-specific profiling of the murine cerebral cortex.
Journal: Nature communications
In common: UMAP, patchwork, reshape2, 2 other tools, cellular / molecular, 2 references
[7] doi:10.1186/s13195-025-01944-y [code]
Exploring cellular heterogeneity: single-cell and spatial transcriptomics of Alzheimer's disease brains and iPSC-derived microglia.
Journal: Alzheimer's research & therapy
In common: patchwork, reshape2, ggpubr, 2 other tools, cellular / molecular, 3 references
[8] doi:10.1186/s12974-024-03198-1 [code]
Repeated LPS induces training and tolerance of microglial responses across brain regions.
Journal: Journal of neuroinflammation
In common: ggpubr, ggplot2, tidyverse, cellular / molecular, 4 references
[9] doi:10.1038/s41467-024-47985-z [code]
VC-resist glioblastoma cell state: vessel co-option as a key driver of chemoradiation resistance.
Journal: Nature communications
In common: reshape2, ggplot2, tidyverse, cellular / molecular, author Kevin Joseph
[10] doi:10.1038/s41590-026-02472-z [code]
A transcriptomic microglia taxonomy across mouse and human pathologies.
Journal: Nature immunology
In common: reticulate, patchwork, ggplot2, 1 other tool, cellular / molecular, 3 references

Contribute

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

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

Add the badge to the code's README

OSCR: the badge of this paper

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

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.1016/j.isci.2026.116485.svg)](https://openscicode.org/badge/doi/10.1016/j.isci.2026.116485)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116485.svg
   :target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116485
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116485"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116485.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.