Fig. 3

Heatmap of latent class models. A clustered heatmap displays the posterior probabilities from the latent class model. Columns represent individual disease observations, and rows correspond to the latent classes. The heatmap colors reflect the probability that a subject belongs to a given latent class, with warmer colors indicating higher probabilities. Appended dendrograms to the left and top of the heatmap illustrate the hierarchical clustering of categories based on their class membership probabilities. The dendrogram branches indicate the relative similarity between subjects, with shorter branch lengths representing closer groupings