In summary, this research highlights the roles of TRUB1, PLEKHA7, and FABP6 as hub genes, the underlying pathways and TF–miRNA networks, and the potential impact of these genes on immune cell activity in the development of depression and COVID-19. The gene discussed is TF; the disease is depressive disorder.