Dissecting glial scar formation by spatial point pattern and topological data analysis - Github Repository
This repository is linked to the article "Dissecting glial scar formation by spatial point pattern and topological data analysis" published in XXX (DOI: LINK). If our approximation and code is valuable for you, we kindly ask you to cite the article mentioned above.
We conducted Point Pattern Analysis (PPA) and Topological Data Analysis (TDA) in microscopy brain images derived from ischemic animals (MCAO model) at different time points. We analyzed the spatial arrangement of GFAP and IBA1-expressing cells forming the glial scar. This repository aims to make our approach fully reproducible. Find the whole project repository in https://osf.io/3vg8j/
Install R (https://www.r-project.org/) and RStudio (https://posit.co/). The "2022_GlialTopology_Notebook.qmd" file contains a chunck for the installation of all the required R-packages.
-
Download the repository. Empty folders are paths to store new generated tables and data.
-
This repository uses research data available in https://doi.org/10.5281/zenodo.7876620. For a full execution download the Zenodo repository and paste the unzipped "QupathProjects_5x" and "QupathProjects_10x" in the working directory.
-
Execute the "2022_GlialTopology_Notebook.qmd". We recommend doing so (initially) chunck by chunk as we expect errors arising from missing paths to the working directory. Please create folders or change paths at your convenience.
-
If errors occur, please do not hesitate to report them or contact us.
BayesianModels
: Empty folder used to store Bayesian models generated by brmsHyperframes
: Empty folder used to store point patternsR_Functions
: Folder containing plotting functionsResultsTables
: Empty folder used to store generated dataSummaryTables
: Empty folder used to store generated dataTDA
: Folder containing .py (Python) scripts for TDA2022_GliglTopology_Notebook.qmd
: Quarto notebook emplayed for data handling and analysisEmpty folder used to store Bayesian models generated by brmsreferences.bib
andnature-communication.csi
are files generated by the notebook to generate bibliographic references using the Nature Communications style.