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. The gene discussed is CD8A; the disease is gastric cancer.