Sensor to help diagnose cancer