A ketogenic diet altered the gut microbiota in L-arginine-induced acute pancreatitis. (A) Venn analysis in SD, KD, and KA groups to show the overlap of gut microbiota. (B) Alpha diversity in SD, KD, SA, and KA groups. (C) Beta diversity in SD, KD, SA, and KA groups. (D) Relative abundance of gut microbiota at the order level. (E) Relative abundance of gut microbiota at the genus level. (F) LEfSe analysis shows the indicators among SD, KD, SA, and KA groups. (G) Univariant analysis to show the significantly different microbiota in SD vs. KD and SA vs. KA groups. (H) Correlation heatmap of SD vs. KD. (I) Correlation heatmap of SA vs. KA. All data were shown with mean ± SD, * p < 0.05, ** p < 0.01, *** p < 0.001.