Dear All, I'm trying to get a heatmap for my n*m matrix, I want to cluster the m samples (columns) using kmeans with manhattan distance. I was able to use hclust method to cluster the m samples, but failed to figure out how to use kmeans. Any suggestion is very welcome!
Best, Cao ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.