The GO enrichment analysis demonstrated that the therapeutic targets of herbs in the treatment of AF combined with OSAHS might be tightly associated with biological processes, for instance, positive regulation of nitric oxide biosynthetic process, aging, response to hypoxia, positive regulation of ERK1 and ERK2 cascade, positive regulation of vasodilation, and positive regulation of transcription from RNA polymerase II promoter. The gene discussed is MAPK1; the disease is atrial fibrillation.