The Biomarker-integrated Approaches of Targeted Therapy for Lung Cancer Elimination (BATTLE) trial couples real-time molecular interrogation of cancer specimens with an adaptive Bayesian clinical trial design.