makeShapeCon {cosmo} | R Documentation |
This function constructs a texttt{shapeCon} object representing a constraint on the unknown position weight matrix that requires the information content to follow a particular functional form.
makeShapeCon(shape, sLower, sUpper, eLower, eUpper, error)
shape |
character the functional form of the information
content. This must be either Linear ,
MonotoneIncreasing , or MonotoneDecreasing . |
sLower |
numeric lower bound on the information content at
the start of the interval |
sUpper |
numeric upper bound on the information content at
the start of the interval |
eLower |
numeric lower bound on the information content at
the end of the interval |
eUpper |
numeric upper bound on the information content at
the end of the interval |
error |
numeric tolerance for how much the actual
information content profile is allowed to deviate from the
prescribed form |
An object of class texttt{shapeCon}.
Fabian Gallusser, fgallusser@berkeley.edu
boundCon
, subMotifCon
, posFreqCon
, shapeCon
, shapeDiffCon
, palCon
sc <- makeShapeCon("Linear",1.0, 2.0, 1.5, 2.0, 0.05)