Having hematological malignancy influenced the odds of hematological complications positively (either neutropenia or thrombocytopenia) compared to solid malignancies when patients were treated with anti-PD1 or anti-PD-L1 [OR = 17.18; 95% CI 4.06–72.71]. The gene discussed is CD274; the disease is Thrombocytopenia.