During a partial hepatectomy, your surgeon takes out part of your liver to completely remove (resect) a tumor. Surgeons commonly perform liver resection to remove cancers that have spread to the liver from other locations, including: Metastasized colorectal cancers.