shapeDiffCon-class {cosmo} | R Documentation |
This class defines a global constraint for the bounds of the difference of the information content at two interval extremities.
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
)
int1
:"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 endint2
:"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 endlower
:"numeric"
matrix containing the lower bounds of the linear constraints junctions upper
:"numeric"
matrix containing the upper bounds of the linear constraints junctions No methods defined with class "linCon" in the signature.
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.
Fabian Gallusser, fgallusser@berkeley.edu
shapeCon
, subMotifCon
, posFreqCon
, boundCon
, palCon
makeConSet
makeShapeDiffCon(int1="1b", int2="2a", lower=0.2, upper=0.5)