raivokolde / pheatmap

Pretty heatmaps
225 stars 83 forks source link

Annotations upon kmeans_k usage #95

Open KrebsLab opened 1 year ago

KrebsLab commented 1 year ago

Hello developers!

my understanding of the argument kmeans_k it that it causes pheatmap to plot cluster centers (means I guess, not medians or?), which is pretty neat!

I'm wondering how are categorical annotations summarised too: is it the most frequent class of the cluster (mean) or the value associated to the median point?

Thanks for the support,

Cheers