As patients with HCC generally have underlying liver dysfunction, we sought to determine if immune checkpoint inhibitors were safe to use in patients with HCC as compared to melanoma and non-small cell lung cancer (NSCLC) in terms of the gastrointestinal side effects of elevation of aspartate aminotransferase (AST), alanine aminotransferase (ALT), and diarrhea as well as patients who drop out of the study due to drug toxicity and death secondary to drug toxicity. This evidence concerns the gene GPT and non-small cell lung carcinoma.