| makePosFreqCon {cosmo} | R Documentation |
This function constructs a texttt{posFreqCon} object representing a constraint on the unknown position weight matrix that requires the frequency of a given nucleotide to be above a given lower bound, either at a single position in a given interval, or on average across the entire interval
makePosFreqCon(pos, nuc, lower)
pos |
This is either the string avg, indicating that the
average nucleotide frequency across the interval is bounded from
below, or a position in the interval, indicating the nucleotide
frequency at that position in the interval is bounded from below. |
nuc |
character This is one of A, C,
G, T, GC, AT. |
lower |
numeric the lower bound on the nucleotide
frequency of interest |
An object of class texttt{posFreqCon}.
Fabian Gallusser, fgallusser@berkeley.edu
boundCon, shapeCon, subMotifCon, posFreqCon, shapeDiffCon, palCon
pfc <- makePosFreqCon("avg","GC", 0.75)