MicroFace maps microglial morphology remodeling, revealing spatial zones and bifurcated trajectories during brain microinjury recovery.
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] § 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] § 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] § 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] § 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] § 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] § 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] § 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
- # ===================================================
- # MICROGLIA MORPHOLOGICAL ANALYSIS PIPELINE
- # ===================================================
- # -------------------------------
- # 1. DISTANCE CALCULATIONS & BINNING
- # -------------------------------
- # Calculate radial distance from injury center (2764, 2196)
- import$df_all <- import$df_all %>%
- mutate(
- radial_dist = sqrt((Center_X_soma - Injury_x)^2 + (Center_Y_soma - Injury_y)^2),
- # Create 25 bins based on distance
- bin_number = ntile(radial_dist, 25),
- bin_range = bin_number * 139,
- # Consolidate bins >16 into single bin (17)
- Bin_Number_New = ifelse(bin_number > 16, 17, bin_number),
- bin_range_new = Bin_Number_New * 139,
- # Classify impact regions
- Impact_Region = case_when(
- Bin_Number_New <= 5 ~ "Near",
- Bin_Number_New >= 8 ~ "Far",
- TRUE ~ "Middle"
- )
- )
- # -------------------------------
- # 2. MORPHOLOGICAL METRICS CALCULATION
- # -------------------------------
- # Calculate various morphological parameters
- import$df_all <- import$df_all %>%
- mutate(
- # Ramification Index
- RI = (Perimeter_cell / Area_cell) / (2 * sqrt(pi / Area_cell)),
- # Area ratios
- area_ratio = Area_cell / Area_soma,
- Cyto_Area = Area_cell - Area_soma,
- # Length/Width ratios
- Length_Width_Ratio_cell = MaxFeretDiameter_cell / MinFeretDiameter_cell,
- Length_Width_Ratio_soma = MaxFeretDiameter_soma / MinFeretDiameter_soma,
- # Aspect ratios
- Aspect_Ratio_cell = MajorAxisLength_cell / MinorAxisLength_cell,
- Aspect_Ratio_soma = MajorAxisLength_soma / MinorAxisLength_soma,
- # Branching metrics
- Branch_Ratio = Non_Trunk_Branch / Trunk_Branch,
- Total_Branch = Non_Trunk_Branch + Trunk_Branch,
- # Health score (0-1 scale)
- Health_score = case_when(
- Total_Branch >= 20 ~ 1,
- TRUE ~ (1 - ((20 - Total_Branch) / 2)/10)
- )
- )
- # -------------------------------
- # 3. COLOR PALETTES
- # -------------------------------
- company_colors <- c("#E50000", "#008A8A", "#AF0076", "#E56800", "#1717A0", "#E5AC00", "#00B700")
- company_colors2 <- c("#E50000", "#0080FF","#E56800", "#AF0076", "#1717A0")
- morpho_colours <- c("#FF0000", "#00FF00", "#0000FF", "#FFFF00", "#FF00FF", "#00FFFF",
- "#FF8000", "#8000FF", "#00FF80", "#FF0080", "#0080FF", "#80FF00",
- "#800000", "#008000")
- # -------------------------------
- # 4. DATA REORGANIZATION
- # -------------------------------
- # Reorder columns to prioritize important variables
- import$df_all_reordered <- import$df_all %>%
- dplyr::select(
- # Selected important columns first
- c(9:14,19,29,32,33,34,37,38,39,40,41,42,47,57,60,65:72),
- # All remaining columns
- everything()
- )
- # -------------------------------
- # 5. DATA EXPORT
- # -------------------------------
- write.csv(import$df_all_reordered,
- "D:/Brain Injury project/4 Datasheet/df_all_reordered.csv",
- row.names = FALSE)
02_Functions.R at commit 9e04611, no license · at the source
Overview
- Laboratory for NeuroEngineering, Department of Neurosurgery, Medical Center-University of Freiburg, Freiburg, Germany
- 3D Brain Models Lab, Department of Neurosurgery, Medical Center-University of Freiburg, Freiburg, Germany
- Department of Neurosurgery, Medical Center-University of Freiburg, Freiburg, Germany
- Faculty of Medicine, University of Freiburg, Freiburg, Germany
- Freiburg Institute for Advanced Science (FRIAS), University of Freiburg, Freiburg, Germany
- Neuroelectronic Systems, Department of Neurosurgery, Medical Center-University of Freiburg, Freiburg, Germany
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
899bcea357f9d0360f5138fb7038c37e6c06f7c9, 11 May 2026Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
13 files
- Data analysis/
Scripts/ , R, 41 lines01_Load_packages.R - Data analysis/
Scripts/ , R, 255 lines, 1 match02_Import_Data.R - Data analysis/
Scripts/ , R, 661 lines, 1 match03_Wins_Filtering_PCA.R - Data analysis/
Scripts/ , R, 470 lines04_Clustering_UMAP.R - Data analysis/
Scripts/ , R, 259 linesFigure_1.R - Data analysis/
Scripts/ , R, 251 lines, 2 matchesFigure_2.R - Data analysis/
Scripts/ , R, 320 lines, 1 matchFigure_3.R - Data analysis/
Scripts/ , R, 546 linesFigure_4.R - Data analysis/
Scripts/ , R, 395 linesFigure_5.R - Data analysis/
Scripts/ , R, 198 linesFigure_S6.R - Data analysis/
Scripts/ , R, 262 linesFigure_S7.R - Data analysis/
Scripts/ , R, 220 linesFigure_S8.R - README.md, Text, 12 lines
3DBMandNE-Lab/MicroFace
9e04611e5936f69f4d8c8079885a2a9547880617, 6 July 2025Availability: 1 check, the latest on 27 September 2026: the link answers
- 27 September 2026: the link answers
8 files
- Imaging data analysis/
Scripts/ , R, 117 lines00_Package_Validation.R - Imaging data analysis/
Scripts/ , R, 126 lines01_Data_import.R - Imaging data analysis/
Scripts/ , R, 92 lines, 2 matches02_Functions.R - Imaging data analysis/
Scripts/ , R, 80 lines03_Pipeline_validation.R - Imaging data analysis/
Scripts/ , R, 68 lines04_Counts.R - Imaging data analysis/
Scripts/ , R, 130 lines05_Heirarchy_clustering. R - Imaging data analysis/
Scripts/ , R, 436 lines06_PCA_analysis.R - README.md, Text, 42 lines
Zenodo 20325902
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
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://
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://
BibTeX
@article{jariwala2026mic
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/
url = {https://
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/
VL - 29
IS - 7
SP - 116485
SN - 2589-0042
PB - Elsevier
DO - 10.1016/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1016/
"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":
"volume": "29",
"issue": "7",
"page": "116485",
"DOI": "10.1016/
"PMID": "42389604",
"PMCID": "PMC13320269",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://
"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 agingIn 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 neuropharmacologyIn 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 neuroscienceIn 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: eNeuroIn 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 neuroscienceIn 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 communicationsIn 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 & therapyIn 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 neuroinflammationIn 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 communicationsIn 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 immunologyIn 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.
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: 3 repositories of the authors' code, each at its verified commit and with its license, 19 scripts, and 7 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:7485462f509933ed…
Add the badge to the code's README
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 -->
[](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:endHTML
<!-- 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.
