Factors affecting the microecology of the gut