This repository contains the R scripts necessary to replicate the figures in this manuscript.
IHCimageAnalysis contains the R scripts neuroProp.R, astroProp.R, microgliaProp.R, endoProp.R and oligoProp.R which can be used to process the IHC images and output proportion estimates. This image analysis is primarily performed using the EBImage package.
The IHC images can be found at neurons, astrocytes, microglia, oligodendrocytes and endothelial cells. Careful, these zip files are over 10GB each.
CellTypeDeconvAnalysis contains the R script DeconvAnalysis.Rmd which can be used to generate all of the figures from the manuscript. This folder also contains all of the necassary data.