dim                package:maigesPack                R Documentation

_R_e_t_r_i_e_v_e _t_h_e _d_i_m_e_n_s_i_o_n _o_f _m_i_c_r_o_a_r_r_a_y _o_b_j_e_c_t_s

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

     Generic function 'dim' to retrieve the number of rows (genes) and
     columns (arrays) for classes 'maigesPreRaw', 'maigesRaw', 'maiges'
     and 'maigesANOVA'.

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

     ## S3 method for class 'maigesPreRaw':
     dim(x)

     ## S3 method for class 'maigesRaw':
     dim(x)

     ## S3 method for class 'maiges':
     dim(x)

     ## S3 method for class 'maigesANOVA':
     dim(x)

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

       x: an object of class 'maigesPreRaw', 'maigesRaw', 'maiges' or
          'maigesANOVA'

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

     This is a function to retrieve the dimensions of the dataset -
     number of genes (rows) and samples (columns) studied. Note that
     the commands 'nrow(x)', 'ncol(x)' and commands related with matrix
     dimensions on also work.

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

     Vector with 2 numbers, the first one is the number of rows (genes)
     and the second one the number of columns (samples).

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

     modified from the 'marray' package

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

     'dim' in the base package.

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

     ## Loading the dataset
     data(gastro)

     dim(gastro)
     dim(gastro.raw)
     dim(gastro.norm)
     dim(gastro.summ)

