applyFNErrors         package:simulatorAPMS         R Documentation

_F_u_n_c_t_i_o_n _t_h_a_t _g_e_n_e_r_a_t_e_s _s_t_o_c_h_a_s_t_i_c _F_a_l_s_e _N_e_g_a_t_i_v_e _E_r_r_o_r_s

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

     This function generates the stochastic False Negative (FN)
     observations for each bait protein used in the AP-MS simulation.

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

     applyFNErrors(foundPrey, rateFN)

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

foundPrey: A character vector of proteins.

  rateFN: A scalar within the unit interval indicating the rate at
          which stochastic FN obersevations are observed.

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

     This function tries to simulate the stochastic nature of the AP-MS
     technology. The overall simulation function, 'runSimulators', will
     call the 'simulator' function on each bait protein along with some
     uniform random rate at which the technology is estimated to
     generate FN observations.

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

     A character vector, proteinFN:

     The proteinsFN is a vector consisting of a subset of the foundPrey
     proteins which will serve as the FN observations for bait protein
     B.

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

     T. Chiang

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

     'applyFPErrors','applyDeformationError'

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

     data(TSNMatrix)
     exampleFoundPrey <- rownames(TSNMatrix)[1:50]
     applyFNErrors(exampleFoundPrey, 0.3)
       

