In summary, we utilized bioinformatics and machine learning algorithms to identify key biomarkers (TM9SF2 and CCL8) for diagnosing IS and OSA. The gene discussed is TM9SF2; the disease is obstructive sleep apnea syndrome.