Because the liver is the primary site of metabolism for many drugs, baseline function testing and monitoring during cancer treatment are essential. However, the cause of an abnormal liver function test when a patient is receiving chemotherapy or immunotherapy can be difficult to determine.