I have some data to make cluster analysis. Suppose these data are five columns; ID of gene, t-value, P.value, Adj.P.value and FC. I would like to cluster it and find a group of data showing similar P.value. Suppose I want a hierarchical clustering in dendogram. If I select ID, then it is showing a cluster with ID. My question is that " Is this cluster is formed on the basis of other parameters such as P.value or only based on ID". In addition I would like to get the right commands needed to get K-means clustering, PCA and hierarchical clustering in software R.