Graphical-model-based multivariate analysis of functional magnetic-resonance data