According to the results of correlation analysis, we identified five final hub genes (TRIM22, IFI6, IFITM1, IFI35, and IRF9) associated with PM/DM, which were used for subsequent investigation. Here, IRF9 is linked to dermatomyositis.