Our findings suggest that SSTR2-high groups may have better immune cell infiltration than SSTR2-low groups in various cancers. Here, SSTR2 is linked to cancer.