Cluster 1 and subtype 1 showed higher expression levels of ACTL6A, BIRC2, and RIPK1, while cluster 1 and subtype 1 showed lower expression levels of FUS and MATR3. The results of the two types of consensus clustering analysis were highly coincident, indicating that the diagnostic marker genes had good distinguishing performance for MDD subtypes. This evidence concerns the gene RIPK1 and major depressive disorder.