Researchers have spent years finding how to examine cancerous cells without taking them out of the body.