ROC-class              package:cellHTS2              R Documentation

_C_l_a_s_s _t_h_a_t _c_o_n_t_a_i_n _d_a_t_a _t_h_a_t _c_a_n _b_e _p_l_o_t_t_e_d _a_s _a _R_O_C _c_u_r_v_e.

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

     Container for data that represent a
     receiver-operator-characteristic curve, and that were generated 
     from the data of the annotated positive and negative controls in a
      scored 'cellHTS' object.

_C_r_e_a_t_i_n_g _O_b_j_e_c_t_s:

     'new("ROC")'

     \S4method{ROC}{cellHTS}(object, positives, negatives) with
     'object' being an 'cellHTS' instance.

_S_l_o_t_s:

     '_n_a_m_e': a character of length 1 with the name of the experiment
          from which the ROC object derives.

     '_a_s_s_a_y_T_y_p_e': a character of length 1 with the type of screenning
          assay. Possible values are: "one-way assay" and "two-way
          assay".

     '_T_P': a vector of integers of length 1000.

     '_F_P': a vector of integers of length 1000.

     '_p_o_s_N_a_m_e_s': a character vector with the name of the positive
          controls.

     '_n_e_g_N_a_m_e_s': a character vector with the name of the negative
          controls.

_M_e_t_h_o_d_s:

     '_s_h_o_w' Print a summary of the object.

     '_p_l_o_t' Plot the ROC curve corresponding to the object.

     '_l_i_n_e_s' Line plot of the ROC object.

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

     Ligia Bras ligia@ebi.ac.uk, Wolfgang Huber huber@ebi.ac.uk

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

     'ROC'

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

         showClass("ROC")
         showMethods(class="ROC")
       
         ## Not run: 
         data(KcViabSmall)
         x <- normalizePlates(KcViabSmall, scale="multiplicative", log=FALSE, method="median", varianceAdjust="none")
         x <- scoreReplicates(x, sign="-", method="zscore")
         x <- summarizeReplicates(x, summary="mean")
         y <- ROC(x)
         plot(y)
         lines(y, col="green")
         show(y)
         
     ## End(Not run)

