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)

