Supplementary Code

Functions.R – contains all helper R functions for LOY analysis. 
call_LOY.R – contains R functions used to call LOY in Seurat objects.
LOY_adjust.R – contains R function to adjust LOY using MSY sparsity. 

All functions and scripts used to process data and produce figures can be found at: https://github.com/michaelcvermeulen/microglia-loss-of-y

