Fig. 2: Morphological features associated with ciprofloxacin exposure.

a Feature heatmap with hierarchical clustering. Horizontal axis is datapoints, vertical axis is features, and each cell in the heatmap is the z-score value of a feature of a datapoint. b Two-dimensional scatter PCoA plot of S. Typhimurium treated with ciprofloxacin at 0xMIC (circle), 1xMIC (triangle), 2xMIC (square) and 4xMIC (cross). Colour scale represents time of exposure. c Random forest OOB error rate against number of decision tree used in ensembles. d Feature importance extracted from random forest model with 1000 decision trees to distinguish different treatment conditions. The horizontal axis is importance, and the vertical axis is the ten most important features. SYTOX Green is abbreviated as SG. e Correlation between ciprofloxacin concentration relative to MICs (horizontal axis) and required time for each isolate to elongate to maximum length (vertical axis). The gray band represents 95%-confidence interval for the linear regression. Source data are provided as a Source Data file.