BRAF and melanoma: Our primary objective was to identify subgroups with different treatment responses using Latent Class Mixed Model (LCMM).We used a public dataset and focused on one treatment, encorafenib, and two indications, melanoma and colorectal cancer, for which efficacy depends on a specific mutation BRAF V600E.