Transcriptional activity and transcript stability of CD39+CD103+CD8+ TRMs in situ in human high-grade endometrial cancer indicated that this cell subpopulation had favorable transcriptional activity and expressed tissue-resident transcriptional profiles in the resting state, and the expression levels of markers of T cell activation were upregulated, and cytolytic activity and cytokine production were increased in the activated state. The gene discussed is ENTPD1; the disease is endometrial cancer.