Overall, this study identified CCNA2, CCNB1, CDKN2A, and CDK1 as hub genes involved in the cellular senescence pathway and may serve as diagnostic and prognostic indicators for AIS and LUAD. This evidence concerns the gene CCNB1 and androgen insensitivity syndrome.