getControlData             package:lumi             R Documentation

_G_e_t _c_o_n_t_r_o_l _p_r_o_b_e _i_n_f_o_r_m_a_t_i_o_n

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

     Get control probe information from Bead Studio output or a
     LumiBatch object.

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

     getControlData(x, type = c('data.frame', 'LumiBatch'), ...)

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

       x: the control data can be a LumiBatch object or the Control
          Probe Profile file outputted by BeadStudio 

    type: determine the return data type 

     ...: other parameters used by 'lumiR' function 

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

     By default, it returns a data.frame with first two columns as
     "controlType" and "ProbeID". The rest columns are the expression
     amplitudes for individual samples. When type is 'LumiBatch', it
     returns a LumiBatch object, which basically is the return of lumiR
     without combining duplicated TargetIDs. As the return is a
     LumiBatch object, it includes more information, like probe number,
     detection p-value and standard error of the measurement.

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

     Pan Du

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

     'addControlData2lumi'

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

             controlFile <- system.file('doc', 'Control_Probe_Profile.txt', package='lumi')
             ## return a data.frame
             controlData <- getControlData(controlFile)
             class(controlData)
             names(controlData)
             
             ## return a LumiBatch object
             controlData <- getControlData(controlFile, type='LumiBatch')
             summary(controlData)

