Results Six GRGs were significantly related with OS, including CACNA1H (HR=1.12, 95%CI: 1.03-1.20, P=0.009), SDC1 (HR=1.22, 95%CI: 1.06-1.40, P=0.008), SDC3 (HR=0.74, 95%CI: 0.61-0.90, P=0.003), NUP43 (HR=1.42, 95%CI: 1.07-1.90, P=0.015), PGK1 (HR=1.74, 95%CI: 1.36-2.20, P<0.001), CHST1(HR=1.14, 95%CI: 1.03-1.30, P=0.009). Thus, we established a prognostic model of 6-GRG. According to the median risk value measured by the model, the patients were divided into low-risk group (n=576) and high-risk groups (n=521). The heat map showed that the expression of SDC3 in high-risk group decreased, and the expression of other 5 genes increased. The survival analysis showed that the overall survival rate of patients in low-risk group was significantly higher than that in high-risk group (χ2=7.314, P<0.001), and the overall survival of patients was (17.23±0.89) years in low-risk group and (8.75±1.71) years and high-risk group. The calibration plot shows that the predictive curve of the model for 1-, 3- and 5-year OS fitted the ideal curve (gray line at 45-degree angle). The ROC curve showed that the area under the curve (AUC)of 1-, 3-and 5-year OS was 0.68, 0.71 and 0.72, respectively, indicating a good prediction accuracy of this model. Compared with normal breast cell line MCF-10A, the expression of CACNA1H, SDC1, NUP43, CHST1 and PGK1 in breast cancer cell line MDA-MB-231 significantly increased (F=15.36, 30.73, 1.08, 14.92, 12.93, all P<0.050), while the expression of SDC3 significantly decreased (F=17.50, P=0.038). The GO and KEGG analysis indicated that most of DEGs in different risk groups were significantly enriched in immunological functions or pathways. The patients in low-risk group had significantly higher proportion of positive immune cells compared with high-risk group, including initial B cells [0.037 (0.011, 0.095) vs 0.031 (0.004, 0.069), Z=-3.928, P=0.012], memory B cells [0.010 (0.002, 0.104) vs 0.004 (0.001, 0.411), Z=-5.175, P<0.001], CD8+ T cells [0.103 (0.077, 0.329) vs 0.073 (0.012, 0.136), Z=-4.904, P<0.001], follicular helper T cells [0.068 (0.000, 0.117) vs 0.057(0.001, 0.128), Z=-2.363, P<0.001], γδ T cells [0.017 (0.000, 0.180) vs 0.010 (0.000, 0.140) Z=-1.491, P=0.001], activated natural killer cells [0.031 (0.000, 0.141) vs 0.021 (0.000, 0.099), Z=-1.667, P<0.001], monocytes [0.017 (0.000, 0.101) vs 0.015 (0.000, 0.085), Z=-1.093, P=0.047], and neutrophils [0.048 (0.011, 0.122) vs 0.021 (0.008, 0.069), Z=-2.776, P<0.001].