Whether for pathological examination or for fundamental biology studies, different classes of biomaterials and biomolecules are each measured from a different region of a typically heterogeneous tissue sample, thus introducing unavoidable sources of noise that are hard to quantitate. We describe the method of DNA-encoded antibody libraries (DEAL) for spatially multiplexed detection of ssDNAs and proteins as well as for cell sorting, all on the same diagnostic platform. DEAL is based upon the coupling of ssDNA oligomers onto antibodies which are then combined with the biological sample of interest. Spotted DNA arrays, which are found to inhibit biofouling, are utilized to spatially stratify the biomolecules or cells of interest. We demonstrate the DEAL technique for (1) the rapid detection of multiple proteins within a single microfluidic channel, and, with the additional step of electroless amplification of gold-nanoparticle labeled secondary antibodies, we establish a detection limit of 10 fM for the protein IL-2, 150 times more sensitive than the analogue ELISA; (2) the multiplexed, on-chip sorting of both immortalized cell lines and primary immune cells with an efficiency that exceeds surface-confined panning approaches; and (3) the co-detection of ssDNAs, proteins, and cell populations on the same platform.