sortdata             package:phyloarray             R Documentation

_S_o_r_t_i_n_g _d_a_t_a

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

     Sort data from high to low, based on the data of the first column
     in each data matrix.

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

       sortdata(datalist, dye="R", method="subtrbg")

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

datalist: An object of type 'phyloarray'

     dye: The dye used for sorting data, i.e. "R" or "G".

  method: The method for sorting. Only one method is included yet, i.e.
          '"subtrbg"', in which the data is sorted by subtracting the
          background from the signal. More methods will be included in
          the future.

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

_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'

     'plot' 'lines' 'par'

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

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

       # for calculation of histogram cutoffs for good/bad spots
       # scans <- histcutoffs(scans)
       #
       # if background calculation is necessary
       # scans <- calcbackgroud(scans)

       # the first 25 rows of sorted scans$R
       sortdata(scans)$R[1:25, ]

       # and their ID's
       sortdata(scans)$ID[1:25]

       # sort scans on green
       scans <- sortdata(scans, dye="G")

       # check probes2probenames

