coerce-FCSformat          package:rflowcyt          R Documentation

_C_o_n_v_e_r_t _D_a_t_a _O_b_j_e_c_t_s

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

     Convert between rflowcyt and prada data objects.

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

     Objects can be converted (coerced) from one class to another using
     'as(object, Class)' where 'object' is an object to convert and
     'Class' is the name of the class to convert to.  The following
     conversions are provided:

       From:        To:
       'FCS'        'cytoFrame'
       'cytoFrame'  'FCS'

     Note that 'cytoFrame' objects are coerced to 'cytoFrame' in such a
     way that the metadata are  not stored in the exact same order.

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

     N. Le Meur

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

     'as' in the 'methods' package.

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

     x <- new("FCS")
     y <- as(x,"cytoFrame")

     ##z <- new("cytoFrame")
     ##z@exprs <- matrix(rnorm(5*2),5,2)
     ##y <- as(z,"FCS")

