Spatial transcriptomics analysis of micro-glial cells near melanoma demonstrates that there is a homeostatic-to-regenerative transition in micro-glial cells that is associated with increased levels of C3, IL-10, and TREM2 and reduced levels of CXCL10 and MHC-II. This evidence concerns the gene TREM2 and melanoma.