Affinity selections of DNA-encoded chemical libraries on carbonic anhydrase IX-expressing tumor cells reveal a dependence on ligand valence.