We identified multiple immune related genes and pathways comparing cancer sub-types (e.g. CCR1, IFNA4, CD34, IL25 – kidney renal clear cell carcinoma vs. kidney renal papillary cell carcinoma), between 22 diverse cancer types (e.g. IL-20 and tumor necrosis factor production nested in negative regulation of cellular metabolic process), and associated with overall patient survival (e.g. FCGR2A, IFNE, TGFB1, IL23A, CD80 and type I interferon signaling pathway nested in cell proliferation). The gene discussed is TNF; the disease is cancer.