Functional Pathways of Biomolecules Retrieved from Single-particle Snapshots