Quantitative Characterization of Microbial Ecologies in Dysbiosis and Infection