meetsiddu1
2010-Aug-09 01:36 UTC
[R] Need help on heatmap, K-means and hhierarchical clustering methods
Hi folks, I am new to the R software. I have been going through different materials to know more about R. I have the R software installed on my windows machine.I would like to know the R source code for the following problems on iris flower data set. I need to do the cluster analysis project with the iris data set. The goal is to cluster the flowers according to their Sepal.Length, Sepal.Width, Petal.Length, and Petal.Width information. Eventually we want to see whether they fall into three clusters, which corresponds to the three species. and complete the following questions. a. Make a heat map of the above dissimilarity matrix(iris data). b. Cluster the iris data using K-Means methods with k?=3 c. Cluster the iris data using an hierarchical clustering method of your choice. Plot the related dendrogram. Use the R functions hclust()and dist() (as well as function daisy()) I am new to this forum as well. I hope you guys help out in finishing this project. Please let me know if any further information is needed. Thanks Siddu -- View this message in context: http://r.789695.n4.nabble.com/Need-help-on-heatmap-K-means-and-hhierarchical-clustering-methods-tp2318085p2318085.html Sent from the R help mailing list archive at Nabble.com.
Erik Iverson
2010-Aug-09 01:52 UTC
[R] Need help on heatmap, K-means and hhierarchical clustering methods
On 08/08/2010 08:36 PM, meetsiddu1 wrote:> > Hi folks, > > I am new to the R software. I have been going through different materials to > know more about R. > I have the R software installed on my windows machine.I would like to know > the R source code for the following problems on iris flower data set. > > I need to do the cluster analysis project with the iris data set. The goal > is to cluster the flowers > according to their Sepal.Length, Sepal.Width, Petal.Length, and Petal.Width > information. Eventually we want to see whether they fall into three > clusters, which > corresponds to the three species. and complete the following questions. > > a. Make a heat map of the above dissimilarity matrix(iris data). > b. Cluster the iris data using K-Means methods with k?=3 > c. Cluster the iris data using an hierarchical clustering method of your > choice. > Plot the related dendrogram. Use the R functions hclust()and dist() (as well > as function daisy()) > > I am new to this forum as well. I hope you guys help out in finishing this > project.This sounds like homework. The list is not supposed to help with homework. The analyses seem fairly straight-forward. If you have any more specific questions that are genuine sticking points, feel free to ask. But it appears you haven't even tried to answer these questions on your own. What have you tried?
Reasonably Related Threads
- using k-means clustering in conjunction with heatmap.2 function
- heatmap clustering dendrogram export
- heatmap.2 clustering and adding add.expr
- Heatmap reordering of dendrogram to hierarchical clustering
- setting distance matrix and clustering methods in heatmap.2