A novel cancer stem cell index (CSCI) was developed and validated using multiple advanced algorithms and large-scale datasets, as well as corresponding clinical features, including 14 OV transcriptomic datasets, 7 pan-cancer ICI transcriptomic cohorts and one melanoma scRNA dataset derived from PD-1 treated patients. This evidence concerns the gene PDCD1 and cancer.