Compare K-means and CLM. Data is simulated for eight genes and 100 samples. Eight genes belong to two clusters. Each of the ten levels of covariate X has ten samples. Left panel plots gene expression versus sample index. Middle panel plots gene expression versus covariate X. Right panel plots average gene expression for samples at the same X level versus covariate X. Symbols represent genes and colors represent gene clusters.