Bayesian Adaptive Design for Immunotherapy and Targeted Therapy