Probing topological excitations with a scanning tunneling microscope: from Yu-Shiba-Rusinov states to fractional quantum Hall states