Advance would allow live monitoring of cell responses to chemicals