If put into practical use, the method would make it easier to detect pancreatic cancer early, which is often very difficult.