Although Child–Pugh class is a well‐known method of evaluating the liver function, it consists of five variables, including serum albumin, total bilirubin and prothrombin time with cutoff values, and subjective assessments such as the presence of hepatic ascites and encephalopathy. This evidence concerns the gene F2 and Encephalopathy.