Identification of Recurrent Patterns in the Activation of Brain Networks