CD4+ Trm or CD8+ Trm cells play a harmful role in autoimmune related skin diseases such as psoriasis and vitiligo, while CD8+Trm cells play a protective role in tumor diseases such as melanoma. This evidence concerns the gene CD8A and neoplasm.