Our classification analysis identified JUN, CEBPG, ENO2, and PRKCB as the key gene expression signatures for a subdivision of heroin dependence and controls. Here, JUN is linked to heroin dependence.