Regulatory Circuits in Cancer and Immunology