relNet2TGF            package:maigesPack            R Documentation

_T_r_a_n_s_f_o_r_m _R_e_l_e_v_a_n_c_e _N_e_t_w_o_r_k _a_n_a_l_y_s_i_s _i_n _T_G_F _o_u_t_p_u_t

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

     This function receive an object of class 'maigesRelNetB' or
     'maigesRelNetM' and write TGF files with the relevance networks
     produced.

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

     relNet2TGF(...)

     ## S3 method for class 'maigesRelNetB':
     relNet2TGF(data, dir = "./",
       filename="group.tgf", corC=NULL, pValue=0.05, ...)

     ## S3 method for class 'maigesRelNetM':
     relNet2TGF(data, dir = "./",
       filenames=c("group1.tgf", "group2.tgf", "difPvalue.tgf"),
       pValue=0.05, ...)

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

    data: object of class 'maigesRelNetB' or 'maigesRelNetM'.

     dir: character string specifying the folder to save the TGF files.

filename: character string specifying the file name, for objects of
          class 'maigesRelNetB'.

filenames: character vector of length 3 with the file names to be
          saved, for objects of class 'maigesRelNetM'.

    corC: numeric in [0,1] specifying the cutoff for selecting absolute
          correlation. May also be 'max' to select the maximum
          correlation values in a permutation bootstrap strategy, as
          proposed by Butte et al. (2000).

  pValue: numeric in [0,1] specifying the cutoff for selecting
          correlation values by p-values.

     ...: additional parameters.

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

     This function only picks the result of the 'relNetworkB' or
     'relNetworkM' and display write TGF files. This files are
     interesting to be used with _Yed_ graph visualisation and editing
     tool, wrote in Java (<URL:
     http://www.yworks.com/en/products_yed_about.htm>).

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

     This function don't return any object.

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

     Gustavo H. Esteves <gesteves@vision.ime.usp.br>

_R_e_f_e_r_e_n_c_e_s:

     Butte, A.J.; Tamayo, P.; Slonim, D.; Golub, T.R. and Kohane, I.S.
     Discovering functional relationships between RNA expression and
     chemotherapeutic susceptibility using relevance networks, *PNAS*,
     97, 12182-12186, 2000 (<URL:
     http://www.pnas.org/cgi/content/full/97/22/12182>)

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

     'relNetworkB', 'relNetworkM', 'maigesRelNetB', 'maigesRelNetM'.

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

     ## Loading the dataset
     data(gastro)

     ## Constructing the relevance network for sample
     ## 'Tissue' comparing 'Neso' and 'Aeso' for the 1st gene group
     ## The same is also true for objects of class maigesRelNetB
     gastro.net = relNetworkM(gastro.summ, sLabelID="Tissue", 
       samples = list(Neso="Neso", Aeso="Aeso"), geneGrp=11,
       type="Rpearson")

     relNet2TGF(gastro.net)

