The M2 ratio, defined as the proportion of M2 macrophages (CD163-positive cells), was correlated inversely with the occurrence of postoperative cholangitis (AUC: 0.7602). Here, CD163 is linked to cholangitis.