loadData             package:MetaNetwork             R Documentation

_L_o_a_d _d_a_t_a _f_r_o_m _c_s_v _f_i_l_e_s

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

     Load a comma separated values (csv) file and convert the contents
     of the file  into a matrix object, taking the 1st column as the
     rownames and the 1st row as columnnames. See also 'read.csv'.

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

       mydata <- loadData(filename)

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

filename: path of the file where the data will be loaded from. 

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

     Returns a matrix containing the data from the indicated file.

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

     Jingyuan Fu <j.fu@rug.nl>,  Morris Swertz <m.a.swertz@rug.nl>, 
     Ritsert Jansen <r.c.jansen@rug.nl>

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

     Fu J, Swertz MA, Keurentjes JJB, Jansen RC. MetaNetwork: a
     computational tool for the  genetic study of metabolism. Nature
     Protocols (2007). 

     <URL: http://gbic.biol.rug.nl/supplementary/2007/MetaNetwork>

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

     Use 'genotypes', 'traits' and 'markers'  as example data sets.
      Use 'MetaNetwork' for automated analysis of loaded data sets as 
     part of a genetic analysis protocol on metabolites.

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

       #not run
       ##load genotypes
       genotypes <- loadData("genotypes.csv") 
       
       ##load traits  
       traits    <- loadData("traits.csv")
       
       ##load markers   
       markers   <- loadData("markers.csv")
       
       ## end not run
          

