Dynemo uses dynamic network modularity to predict clinical outcomes