In leprosy, the expression levels of APOE and CYP27A1 were positively correlated with the levels of 18 immune cell types. Here, CYP27A1 is linked to leprosy.