This invention relates to methods for selecting a treatment, treating, and predicting survival time in subjects with cancer, such as colorectal cancer, based on tumor expression levels of chemokines, cytotoxic genes, and/or dendritic cell genes.