hclust2treeview             package:ctc             R Documentation

_H_i_e_r_a_r_c_h_i_c_a_l _c_l_u_s_t_e_r_i_n_g _a_n_d _t_r_e_e_v_i_e_w _e_x_p_o_r_t

_D_e_s_c_r_i_p_t_i_o_n:

     This function compute hierachical clustering with function
     hcluster and export cluster to treeview files format.

_U_s_a_g_e:

     hclust2treeview(x,file="cluster.cdt",method = "euclidean",link = "complete",keep.hclust=FALSE)

_A_r_g_u_m_e_n_t_s:

       x: numeric matrix or a data frame or an object of class
          "exprSet".

    file: File name of export file.

  method: the distance measure to be used. This must be one of
          '"euclidean"', '"maximum"', '"manhattan"', '"canberra"'
          '"binary"' '"pearson"', '"correlation"' or  '"spearman"'. Any
          unambiguous substring can be given.

    link: the agglomeration method to be used. This should be (an
          unambiguous abbreviation of) one of '"ward"', '"single"',
          '"complete"', '"average"', '"mcquitty"', '"median"' or
          '"centroid"'.

keep.hclust: if TRUE: function returns a list of 2 objects of class
          hclust

_D_e_t_a_i_l_s:

     This function producte all 3 files needed by treeview, with
     extentions: cdt, gtr, atr.

_V_a_l_u_e:

     if keep.hclust = FALSE, function return 1. else function returns 2
     objects of class hclust, first: hierachical clustering by rows,
     second: hierarchical clustering by columns

_A_u_t_h_o_r(_s):

     Antoine Lucas, <URL:
     http://mulcyber.toulouse.inra.fr/projects/amap/>

_S_e_e _A_l_s_o:

     'hclust'

_E_x_a_m_p_l_e_s:

     data(USArrests)
     hclust2treeview(USArrests,file="cluster.cdt")

