Automatic selection of resting-state networks with functional magnetic resonance imaging.