Extended Data Fig. 1: Automated selection of hepatocytes along zonation trajectories.

The microscopy images are input for automated vein identification and characterization based on marker proteins. The user then manually selects suitable trajectories. Pre-segmented cell contours (turquois) are the basis for the farthest-first traversal algorithm, maximizing minimum distances between selected shapes to achieve uniform cell distribution along the portal-central axis. Selected shapes (colored dots) are assigned a spatial score S from 0 (CV, central vein) to 1 (PV, portal vein) based on their relative position.