Genetic information in cancer cells reveals the strength of cancer–immune interactions in an individual-based stochastic model, which captures explicit interactions between cancer and effector cells.