The expression levels of immune genes such as CHGB, HLA-DRA, LYZ, IGKV1-17 and TYROBP were significantly upregulated in patients with AF, which were correlated with infiltration of immune cells. The gene discussed is CHGB; the disease is atrial fibrillation.