We found two stages of microglia from sham- to stroke-based on the pseudo-time analysis and the risk gene: P4ha1 has a critical role in the stage transition. The gene discussed is P4HA1; the disease is stroke disorder.