Neuroimaging can be used to assess a person's risk of suicidal behavior. Those with mood disorders, a history of suicidal thoughts, and those with a history of suicide attempts have less connectivity in the cognitive control network. They also have reduced connectivity between the cognitive control network and the default mode network.