A paper, while not specifically addressing vaccination in immunocompromised patients, documents pretty clearly the phenomenon of runaway mutation chains in such patients.
Edit: Another piece, specifically addressing immunocompromised + covid + vaccines:
"Studies have shown that immunocompromised people are more vulnerable to being hospitalized or dying from COVID and less likely to develop strong protection from vaccination. But there are also some hopeful signs: additional doses of some COVID vaccines, strategic timing of immunosuppressive treatments and prophylactic COVID treatments may boost protection among some immunocompromised individuals—and restore at least some of the freedoms they have lost."
https://www.nejm.org/doi/full/10.1056/NEJMsb2104756
Edit: Another piece, specifically addressing immunocompromised + covid + vaccines:
"Studies have shown that immunocompromised people are more vulnerable to being hospitalized or dying from COVID and less likely to develop strong protection from vaccination. But there are also some hopeful signs: additional doses of some COVID vaccines, strategic timing of immunosuppressive treatments and prophylactic COVID treatments may boost protection among some immunocompromised individuals—and restore at least some of the freedoms they have lost."
https://www.scientificamerican.com/article/how-immunocomprom...