Code used for the publication: "Dynamics of functional network organization through graph mixture learning" NeuroImage Volume 215 (2020)