getprobes             package:phyloarray             R Documentation

_A_d_d_i_n_g _p_r_o_b_e_s _t_o _o_b_j_e_c_t

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

     Reads the for each "Probename", all match and mismatch probes from
     a '.csv'-file. The fields are normally delimited with a comma, and
     the fields surroundend by quotes.

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

       getprobes(datalist, file, header=T, sep=",", quote="\"", fill=T, ...)

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

datalist: An object of type 'phyloarray'

    file: The file to be read

  header: The first row should contain the columns names. The first
          columns should be named "Probename". The following columns
          may have any name, and the user should use these names for
          further analysis.

     sep: The delimiter between field. Standard value is a comma.

   quote: The quotes around the field values.

    fill: If the number of columns is unequal, blank fields are added.

     ...: Additional parameters for 'read.csv'

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

     An object of class phyloarray is returned, with attribute 'probes'
     added. This is a dataframe containing for each probename, several
     match and mismatch probe ID's.

_N_o_t_e:

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

     Kurt Sys (kurt.sys@advalvas.be)

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

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

     'Scandataraw' 'Phylodata'

     'init.data'

     'read.csv'

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

       # load data this-is-escaped-codenormal-bracket40bracket-normal, i.e. this-is-escaped-codenormal-bracket41bracket-normal
       data(Phylodata)

       # read the probes from a this-is-escaped-codenormal-bracket42bracket-normal-file
       # scans <- getprobes(scans, file="probes.csv")

       # names of the columns
       names(attr(scans, "probes"))

       # the list of probenames and -ID's
       attributes(scans)$probes

