The results indicate that CD4/CD8 ratio may be a marker for rectal cancer prognosis. Here, CD8A is linked to rectal cancer.