In the patients without SBP, more laboratory test indices were affected by cancer, but the effect differed between those with and without SBP in terms of lymphocytes, platelets, TBil, AST, ALT, ALP, ferritin, FAR and NLR, suggesting that cancer had a differential effect on these indices in decompensated cirrhotic patients with SBP. The gene discussed is GPT; the disease is cancer.