The invention relates to diagnostic and treatment methods using a ligand library. Specifically, the invention relates to using a ligand library to diagnose or detect a drug induced response, including drug adverse reaction, side effects, drug resistance, and therapeutic efficacy. The invention further relates to identifying biomarkers associated with a drug induced response and providing a personalized medical treatment.