Hydrodynamic pairing of soft particles in a confined flow