r2cluster                package:ctc                R Documentation

_W_r_i_t_e _t_o _C_l_u_s_t_e_r _f_i_l_e _f_o_r_m_a_t

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

     Converting data to Cluster format

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

     r2cluster(data,labels=FALSE,colname="ACC",description=FALSE,file="cluster.txt",dec='.')

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

    file: the path of the file

    data: a matrix (or data frame) which provides the data to put into
          the file

  labels: a logical value indicating whether we use the frist column as
          labels (UNIQID column for cluster file)

 colname: Should be one of: YORF,MCLID,CLID,ACC

description: a logical value indicating whether we use the second
          column as description (NAME column for cluster file)

     dec: the character used in the file for decimal points

_N_o_t_e:

     _Cluster_ is a program made by _Michael Eisen_ that performs
     hierarchical clustering, K-means and SOM. 

     _Cluster_ is copyrighted.  To get or have information about
     _Cluster_: <URL: http://rana.lbl.gov/EisenSoftware.htm>

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

     Antoine Lucas, <URL: http://genopole.toulouse.inra.fr/~lucas/R>

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

     'xcluster', 'r2xcluster', 'hclust'

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

     #    Create data
     .Random.seed <- c(1,  416884367 ,1051235439)
     m <- matrix(rep(1,3*24),ncol=3)  
     m[9:16,3] <- 3 ; m[17:24,] <- 3    #create 3 groups
     m <- m+rnorm(24*3,0,0.5)           #add noise
     m <- floor(10*m)/10                #just one digits

     r2cluster(m)

