This study mainly focused on PD-1/PD-L1 inhibitor-associated myocarditis, and other forms of ICI-related cardiotoxicity need to be further investigated. Here, CD274 is linked to myocarditis.