checkFormat             package:occugene             R Documentation

_C_h_e_c_k_s _t_h_e _F_o_r_m_a_t _o_f _A_n_n_o_t_a_t_i_o_n _a_n_d _I_n_s_e_r_t_i_o_n_s

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

     Checks the format of the annotation and insertions.

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

     checkFormat(anno,clone)

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

    anno: 2-column matrix of annotation

   clone: vector

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

     Checks the format of the annotation and insertions list.
     Annotation  has to be a matrix of the first and last target in the
     ORF. Insertions has to  be a vector. Will stop if not correct
     format.

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

     Returns a boolean.

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

     Oliver Will owill4@yahoo.com

_R_e_f_e_r_e_n_c_e_s:

     See the book chapter O. Will (**) in **

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

     data(sampleAnnotation)
     data(sampleInsertions)
     anno <- cbind(sampleAnnotation$first,sampleAnnotation$last)
     clone <- sampleInsertions$position
     if (checkFormat(anno,clone)) {print("Looks good.");}

