Our results demonstrated that D-dimer-related genes influence CD8+ T cells via TGF-beta signaling and have the potential to become cancer biomarkers, particularly for gastric cancer. This evidence concerns the gene CD8A and cancer.