ROC curve analysis showed that CD163 and CCR1 had good diagnostic values for HF and NAFLD. The gene discussed is CCR1; the disease is metabolic dysfunction-associated steatotic liver disease.