Correlation analysis between APOE, CYP27A1, SOAT1, and immune cells revealed positive associations between the expression levels of APOE and CYP27A1 and the abundance of six immune cell types in both psoriasis and leprosy patients. This evidence concerns the gene APOE and leprosy.