shapeDiffCon-class           package:cosmo           R Documentation

_C_l_a_s_s "_s_h_a_p_e_D_i_f_f_C_o_n" ~~~

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

     This class defines a global constraint for the bounds of the
     difference of the information content at two interval extremities.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form ' 
     new('shapeDiffCon','
      '    int1      = ...., # Object of class character'
      '    int2      = ...., # Object of class character'
      '    lower     = ...., # Object of class numeric'
      '    upper     = ...., # Object of class numeric'
      '  )' or by: '  makeShapeDiffCon('
      '    int1      = ...., # Object of class character'
      '    int2      = ...., # Object of class character'
      '    lower     = ...., # Object of class numeric'
      '    upper     = ...., # Object of class numeric'
      '  )'

_S_l_o_t_s:


     '_i_n_t_1': Object of class '"character"' designing the first interval
          and extremity of the constraint: the first character is the
          interval number, the second is the extremity: 'a' for
          beginning and 'b' for end

     '_i_n_t_2': Object of class '"character"' designing the second
          interval and extremity of the constraint: the first character
          is the interval number, the second is the extremity: 'a' for
          beginning and 'b' for end

     '_l_o_w_e_r': Object of class '"numeric"' matrix containing the lower
          bounds of the linear constraints junctions 

     '_u_p_p_e_r': Object of class '"numeric"' matrix containing the upper
          bounds of the linear constraints junctions 

_M_e_t_h_o_d_s:

     No methods defined with class "linCon" in the signature.

_N_o_t_e:

     The constraints is so that: lower <= Information content at int1 -
     Information content at int2 <= upper.

     The 'makeShapeDiffCon' will build an object of class
     '"shapeDiffCon"' given the int1, int2, lower and upper values.

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

     Fabian Gallusser, fgallusser@berkeley.edu

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

     'shapeCon', 'subMotifCon', 'posFreqCon', 'boundCon', 'palCon'
     'makeConSet'

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

     makeShapeDiffCon(int1="1b", int2="2a", lower=0.2, upper=0.5)

