makeShapeCon {cosmo} | R Documentation

## Constructing a shape constraint

### Description

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.

### Usage

    makeShapeCon(shape, sLower, sUpper, eLower, eUpper, error)

### Arguments

`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

### Details

### Value

An object of class texttt{shapeCon}.

### Author(s)

Fabian Gallusser, fgallusser@berkeley.edu

### See Also

`boundCon`, `subMotifCon`, `posFreqCon`, `shapeCon`, `shapeDiffCon`, `palCon`

### Examples

    sc <- makeShapeCon("Linear",1.0, 2.0, 1.5, 2.0, 0.05)

[Package cosmo version 1.2.0 Index]