We identified several potential loci, in particular PHLPP2, BBS9, RyR2, DUSP4 and HSPA8, associated with new-onset of atrial fibrillation, delirium, myocardial infarction, acute kidney injury and stroke after cardiac surgery. This evidence concerns the gene RYR2 and atrial fibrillation.