Provided herein is a method and system for analyzing a sample. In some embodiments the method makes use of a plurality of capture agents that are each linked to a different oligonucleotide and a corresponding plurality of labeled nucleic acid probes, wherein each of the labeled nucleic acid probes specifically hybridizes with only one of the oligonucleotides. The sample is labeled with the capture agents en masse, and sub-sets of the capture agents are detected using iterative cycles using corresponding subsets of the labeled nucleic acid probes.