Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer).
Functional brain-imaging methods provide rich datasets that can be exploited by machine-learning techniques to help assess psychiatric disorders. A recent study uses this approach to identify patients with suicidal thoughts, and to distinguish those who have attempted suicide from those who have not.