RAD51 was closely associated with cancer immune microenvironments in some cancer types. Here, RAD51 is linked to cancer.