Skip to content

Cluster and Tree Conversion

1 message · kthomps7@gmu.edu

#
hi, 
  i'm looking for some help w/ Antoine Lucas's package for Cluster and Tree Conversion (from r to Xcluster).  the r2dct functions includes 2 parameters not discussed in the .pdf.  if i've deciphered them correctly the hr is the labels and the hc is the Hclust object.  

  i can properly run the function with larger data matrix and only receive a warning msg:
Warning message:
number of items to replace is not a multiple of replacement length 

However smaller matrices fail:
Error in "[.data.frame"(data[, 5:m], hc$order) : 
        undefined columns selected

  as anyone had to work around this?

thanks,
kt