MicroFace maps microglial morphology remodeling, revealing spatial zones and bifurcated trajectories during brain microinjury recovery.
The 7 matches
- [1] § STAR★Methods › Quantification and statistical analysis › Morphometric analysis › Outlier detection ↔ Data analysis/Scripts/03_Wins_Filtering_PCA.R, lines 43–83 · score 0.75 · chi squared distribution, Mahalanobis distance, cutoff, winsorized, outliers, detection
- [2] § Results › Rod-like and reactive transitional microglia represent distinct intermediate states during injury response ↔ Imaging data analysis/Scripts/02_Functions.R, lines 44–92 · score 0.66 · major axis length, Feret diameter, trunk branches, soma, injury, cells
- [3] § Results › Validation of the MicroFace segmentation and morphometric quantification pipeline ↔ Data analysis/Scripts/Figure_2.R, lines 90–133 · score 0.66 · convex area, Feret diameter, MicroFace, solidity, radius, Correlation
- [4] § Results › Coordinated morphometric programs reveal spatially organized microglial remodeling after implantation ↔ Data analysis/Scripts/Figure_3.R, lines 1–40 · score 0.63 · morphometric features, coefficient, morphological features, microglial morphology, rank, NMF
- [5] § Results › Rod-like and reactive transitional microglia represent distinct intermediate states during injury response ↔ Data analysis/Scripts/02_Import_Data.R, lines 142–180 · score 0.61 · major axis length, Feret diameter, perimeter, rod, soma, morphological
- [6] § Results › Validation of the MicroFace segmentation and morphometric quantification pipeline ↔ Data analysis/Scripts/Figure_2.R, lines 45–88 · score 0.55 · Cell perimeter, Cell area, MicroFace, Scatterplots, Correlation, Figure 2
- [7] § Results › Coordinated morphometric programs reveal spatially organized microglial remodeling after implantation ↔ Imaging data analysis/Scripts/02_Functions.R, lines 1–42 · score 0.53 · morphological parameters, ramification, microglial morphology, ratio, perimeter, soma
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 · 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/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, reshape2, ggpubr, 3 other tools, cellular / molecular, 4 references
- [2] doi:10.1016/j.stemcr.2026.102997 [code]
- BDNF regulates pituitary stem cell engagement toward precursor state.Journal: Stem cell reportsIn common: reticulate, UMAP, reshape2, 3 other tools, cellular / molecular, 2 references
- [3] doi:10.1038/s41586-026-10629-x [code]
- Whole-genome duplication shaped cell-type evolution in the vertebrate brain.Journal: NatureIn common: reticulate, UMAP, reshape2, 4 other tools, cellular / molecular, 1 reference
- [4] doi:10.1038/s41467-026-76232-w [code]
- Th17 effector cytokines induce shared and distinct microglial and endothelial cell responses in a mouse model for post-streptococcal encephalitis.Journal: Nature communicationsIn common: reticulate, UMAP, reshape2, 4 other tools, cellular / molecular, 1 reference
- [5] doi:10.1016/j.celrep.2026.117500 [code]
- Spatio-molecular gene expression reflects dorsal anterior cingulate cortex structure and function in the human brain.Journal: Cell reportsIn common: reticulate, reshape2, ggpubr, 3 other tools, cellular / molecular, 2 references
- [6] doi:10.1038/s42003-026-10957-8 [code]
- Brain defence by the extracellular matrix protein Cochlin.Journal: Communications biologyIn common: reticulate, UMAP, reshape2, 4 other tools, cellular / molecular
- [7] doi:10.1016/j.xcrm.2026.102651 [code]
- Integrative CSF profiling identifies disease-specific immune responses in leptomeningeal disease.Journal: Cell reports. MedicineIn common: reticulate, UMAP, reshape2, 4 other tools, cellular / molecular
- [8] doi:10.1016/j.stemcr.2026.102922 [code]
- Spatially resolved transcriptomics identifies intercellular signaling post-ischemic stroke that controls neural stem cell proliferation.Journal: Stem cell reportsIn common: reticulate, UMAP, reshape2, 3 other tools, 2 references
- [9] 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 psychiatryIn common: reticulate, UMAP, reshape2, 3 other tools, 2 references
- [10] 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 neuroinflammationIn common: reticulate, UMAP, reshape2, 3 other tools, cellular / molecular, 1 reference
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:579aabf031495727…
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.
