Our snRNA-seq revealed that BRAF V600E variant melanoma brain metastases harbored a distinct CD45-positive microenvironment compartment highlighted by decreased macrophage and T cell populations, which correlates with minimal response to checkpoint inhibition in BRAF V600E variant melanoma brain metastases compared with BRAF wildtype lesions. This evidence concerns the gene BRAF and melanoma.