mergeMCRProbes            package:cghMCR            R Documentation

_A _f_u_n_c_t_i_o_n _t_h_a_t _a_p_p_e_n_d_s _p_r_o_b_e _i_d_s _t_o _a _d_a_t_a _f_r_a_m_e _c_o_n_t_a_i_n_i_n_g _M_C_R_s

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

     This function takes a data frame generated by 'MCR' and then
     append probe ids corresponding to each MCR as a column to the data
     frame.

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

     mergeMCRProbes(mcr, rawData)

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

     mcr: 'mcr' is a data frame generated by 'MCR' that contains MCRs
          identified and other related data

 rawData: 'rawData' is a data frame with at least three columns. The
          first column should be probe ids, second the chromosome
          number the probes corresponding to, and the thrid the
          starting or ending chromosomal locations of the probes

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

     The 'mcr' data frame passed must have the first column for
     chromosome numbers, the 7th column for the starting positions of
     the MCRs, and the 8th column for the ending positions of the MCRs.

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

     A data frame with MCRs and the corresponding probe ids and other
     data.

_N_o_t_e:

     The function is a contribution of The Center for Applied Cancer
     Science of Dana-Farber Cancer Institute

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

     Jianhua Zhang

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

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

     'MCR'

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

       require("cghMCR")
       data("sampleData")
       segments <- getSegments(sampleData)
       cghmcr <- cghMCR(segments, gapAllowed = 500, alteredLow = 0.20,
                        alteredHigh = 0.80, recurrence = 50)
       mcrs <- MCR(cghmcr)
       mcrs <- mergeMCRProbes(mcrs, segments[["data"]])

