Intraoperative mapping for tumor resection