title: In R, how can I plot a similarity matrix (like a block graph) after clustering data?
body: <p>I want to produce a graph that shows a correlation between clustered data and similarity matrix.
  How can I do this in R? Is there any function in R that creates the graph like a picture in this link? 
  <a href="http://bp0.blogger.com/_VCI4AaOLs-A/SG5H_jm-f8I/AAAAAAAAAJQ/TeLzUEWbb08/s400/Similarity.gif" rel="nofollow">http://bp0.blogger.com/_VCI4AaOLs-A/SG5H_jm-f8I/AAAAAAAAAJQ/TeLzUEWbb08/s400/Similarity.gif</a>  (just googled and got the link that shows a graph that I want to produce) </p>
  
  <p>Thanks, in advance.</p>