[BioC] hopach and heatmap

Ivan Baxter ibaxter at purdue.edu
Mon Jun 19 17:14:37 CEST 2006


Dear list- I am trying to do some clustering using the 'hopach' package 
as described in chapter 13 of the monograph.  

I can successfully cluster the data using the hopach function....
yhopac <- hopach(y)

 but I can't figure out how to view the clustered data as a heatmap.  I 
have tried 

tab2<-as.matrix(y)
heatmap(tab2, hclustfun = hopach)
but it crashes and I get the following....

Searching for main clusters...
Level  1
Level  2
Level  3
Level  4
Level  5
Level  6
Level  7
Level  8
Level  9
Level  10
Level  11
Level  12
Level  13
Level  14
Level  15
Identified 37  main clusters in level 3 with MSS = 0.08025142
Running down without collapsing from Level 3
Level 4
Level 5
Error in as.dendrogram(hcr) : no applicable method for "as.dendrogram"

can anyone point me in the right directions?

 thanks in advance

Ivan

 > sessionInfo()
Version 2.3.0 (2006-04-24)
i386-pc-mingw32

attached base packages:
[1] "methods"   "stats"     "graphics"  "grDevices" "utils"     "datasets"
[7] "base"    

other attached packages:
gregmisc   gplots  gmodels   gtools    gdata   hopach  cluster  RWinEdt
 "2.0.8"  "2.3.0" "2.12.0"  "2.2.3"  "2.1.2"  "1.4.1" "1.10.5"  "1.7-4"



-- 
**************************************************************
Ivan Baxter
Research Scientist
Bindley Bioscience Center
Purdue University
765-543-7288
ibaxter at purdue.edu



More information about the Bioconductor mailing list