Our results suggest that DDR1 can serve as a prognostic factor for various cancers and play a vital role in tumor immunity by influencing MSI, TMB, and tumor-infiltrating immune cells. Here, DDR1 is linked to cancer.