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. Here, TYROBP is linked to atrial fibrillation.