The screened hub genes, IL6, ITGA1, PTK2, ITGB3, ITGB5, CCL2, IL15, VCAM1, GZMB, APOE, ITGB8, LAMA4, LAMC2, COL6A3 and TNFRSF9, were validated using GEO dataset and single-cell sequencing data, which may be therapeutic targets patients with myocarditis to prevent MI progression and adverse cardiovascular events. This evidence concerns the gene LAMC2 and myocarditis.