Re: [R] cutreeDynamic error

2013-02-27 Thread Joanna Papakonstantinou
Thank you, Peter. This worked. I appreciate your time and help. Regards, Joanna On Wed, Feb 27, 2013 at 1:21 AM, Peter Langfelder < peter.langfel...@gmail.com> wrote: > On Tue, Feb 26, 2013 at 8:34 AM, Joanna Papakonstantinou > wrote: > > So I realized I had to convert my dd.daisy to a matrix a

Re: [R] cutreeDynamic error

2013-02-26 Thread Peter Langfelder
On Tue, Feb 26, 2013 at 8:34 AM, Joanna Papakonstantinou wrote: > So I realized I had to convert my dd.daisy to a matrix and used: > ddmatrix.daisy<-as.matrix(dd.daisy) > and then I passed that in as the distM: >> cutreeDynamic(as.hclust(dd.diana), cutHeight = NULL, minClusterSize = 2, > method =

[R] cutreeDynamic error

2013-02-26 Thread Joanna Papakonstantinou
So I realized I had to convert my dd.daisy to a matrix and used: ddmatrix.daisy<-as.matrix(dd.daisy) and then I passed that in as the distM: > cutreeDynamic(as.hclust(dd.diana), cutHeight = NULL, minClusterSize = 2, method = "hybrid", distM = ddmatrix.daisy,deepSplit = (ifelse(method=="hybrid", 1,

[R] cutreeDynamic error

2013-02-26 Thread Joanna Papakonstantinou
I am having difficulty getting the dynamic tree cut package to work. Given the data table "myddtable" LengthPlaceColorAge5HRed224ABlue205WGreen243GRed222GBlue236WGreen255ARed194H Blue23 I created a similarity matrix using DAISY and Gower metric and specified Place and Color columns as characters (