Collectively, these results indicated that DRD5 and TFAP2A, as potential targets of CPAP for OSA treatment, were also key genes in the pathogenesis of OSA, and had good diagnostic value. Here, TFAP2A is linked to obstructive sleep apnea syndrome.