makeSubMotifCon {cosmo} | R Documentation

## Constructing a submotif constraint

### Description

This function constructs a texttt{subMotifCon} object representing a constraint on the unknown position weight matrix that requires the motif to contain a given submotif

### Usage

    makeSubMotifCon(submotif, minfreq)

### Arguments

`submotif` | `character` the submotif
`minfreq` | `numeric` roughly, the minimum frequency with which nucleotides in the submotif must occur in the motif

### Value

An object of class texttt{subMotifCon}.

### Author(s)

Fabian Gallusser, fgallusser@berkeley.edu

### See Also

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

### Examples

    pfc <- makeSubMotifCon("CGC", 0.8)

[Package cosmo version 1.6.0 Index]