A 64-year-old woman with long-standing rheumatoid arthritis presents with early satiety, weight loss and abdominal distension. Examination reveals shifting dullness. Ultrasound shows ascites and nodular liver consistent with cirrhosis. She drinks little alcohol. What is the most appropriate investigation to determine the aetiology?