The differential clinical characteristics and gene expression between cluster 1 and cluster 2. a The PCA was used to verify the two distinct subgroups divided by non-supervision consensus clustering analysis of m6A-related genes. b The total m6A-related gene expression differences of individual patient between clusters. c The correlation heatmap showed a significant association between clusters and MS subtypes. d The gene expression differences of each m6A-related gene between PMS patients and RRMS patients using the Mann–Whitney U test. (ALKBH5: RRMS vs. PMS = 6.378 ± 0.995 vs. 4.259 ± 1.000, p < 0.001; FTO: RRMS vs. PMS = 8.411 ± 1.153 vs. 6.172 ± 3.121, p < 0.001; HNRNPC: RRMS vs. PMS = 8.006 ± 1.277 vs. 4.897 ± 0.494, p < 0.001; KIAA1429: RRMS vs. PMS = 6.132 ± 1.322 vs. 4.494 ± 1.000, p < 0.001; METTL14: RRMS vs. PMS = 6.212 ± 1.026 vs. 4.805 ± 0.787, p < 0.001; METTL3: RRMS vs. PMS = 7.688 ± 2.088 vs. 4.267 ± 1.530, p < 0.001; RBM15: RRMS vs. PMS = 6.963 ± 1.186 vs. 4.477 ± 0.671, p < 0.001; WTAP: RRMS vs. PMS = 7.177 ± 1.119 vs. 4.810 ± 0.874, p < 0.001; YTHDC1: RRMS vs. PMS = 6.563 ± 1.085 vs. 5.167 ± 1.185, p < 0.001; YTHDC2: RRMS vs. PMS = 6.749 ± 0.944 vs. 4.533 ± 0.951, p < 0.001; YTHDF1: RRMS vs. PMS = 9.171 ± 2.812 vs. 3.223 ± 1.457, p < 0.001; YTHDF2: RRMS vs. PMS = 8.856 ± 2.558 vs. 3.445 ± 1.191, p < 0.001; ZC3H13: RRMS vs. PMS = 7.239 ± 1.191 vs. 5.413 ± 1.938, p < 0.001). e The gene expression differences of each m6A-related gene between SPMS patients and PPMS patients using the Mann–Whitney U test. (ALKBH5: SPMS vs. PPMS = 4.189 ± 0.737 vs. 4.346 ± 1.362, p = 0.687; FTO: SPMS vs. PPMS = 6.136 ± 3.202 vs. 6.217 ± 2.911, p = 0.947; HNRNPC: SPMS vs. PPMS = 6.136 ± 0.507 vs. 6.217 ± 0.467, p = 0.588; KIAA1429: SPMS vs. PPMS = 4.643 ± 0.823 vs. 4.311 ± 1.268, p = 0.391; METTL14: SPMS vs. PPMS = 4.815 ± 0.737 vs. 4.792 ± 0.852, p = 0.941; METTL3: SPMS vs. PPMS = 4.272 ± 1.501 vs. 4.260 ± 1.564, p = 0.984; RBM15: SPMS vs. PPMS = 4.551 ± 0.633 vs. 4.387 ± 0.700, p = 0.531; WTAP: SPMS vs. PPMS = 4.767 ± 0.821 vs. 4.862 ± 0.965, p = 0.779; YTHDC1: SPMS vs. PPMS = 5.189 ± 1.183 vs. 5.139 ± 1.187, p = 0.915; YTHDC2: SPMS vs. PPMS = 4.625 ± 0.974 vs. 4.421 ± 0.863, p = 0.583; YTHDF1: SPMS vs. PPMS = 3.062 ± 0.504 vs. 3.421 ± 2.311, p = 0.526; YTHDF2: SPMS vs. PPMS = 3.220 ± 0.890 vs. 3.721 ± 1.568, p = 0.276; ZC3H13: SPMS vs. PPMS = 5.228 ± 1.899 vs. 5.641 ± 1.993, p = 0.584). The significant levels were set at p < 0.05 (*), < 0.01 (**), and < 0.001 (***)