in reply to Re: Complete Linkage Clustering
in thread Complete Linkage Clustering

Thank You!
I have installed the Algorithm::Cluster module. I have a very large distance matrix to solve. The function Algorithm::Cluster::treecluster(%param) seems to cluster genes or microarray.

%param=( data => \@m, #Wanted array reference, but got a #reference to . mask =>'', #Parameter 'mask' is not a valid #matrix, ignoring it. weight =>'', #Parameter 'weight' does not point #to an array, ignoring it. transpose = '', #Parameter 'transpose' must be #either 0 or 1 (got '') )

I have stated the errors against its corresponding statements.

Any suggestion? Thanks

Edit by BazB: remove excess code tags.

Replies are listed 'Best First'.
Re^3: Complete Linkage Clustering
by punkish (Priest) on Feb 27, 2005 at 14:24 UTC
    Hmmm... usually folks ask questions about why their program isn't working. You already seem to understand why it isn't working. I have no idea what "complete linkage clustering" is, but you have already provided the errors above... so fix 'em and you will be on your way. In particular,
    • 'weight' is pointing to an empty string... change it to an array as required.
    • 'transpose' is pointing to an empty string... change it to 0 or 1.
    • 'mask' is pointing to an empty string. Correct that.
    • 'data' seems to be ok... it _is_ pointing to an arrayref... check @m and see if it is what the program expects.
    --
    when small people start casting long shadows, it is time to go to bed

      the program should not have weights and mask.It is supposed to be empty!!! thats were i am stuck.
      And i should not do any transpose. I have to cluster a large matrix of distance data--- not gene or microarray data.
      And i do not know how to avaoid these errors. as for the data reference i did check!!

      Any suggestions?

      Edit by BazB: remove excess code tags.