Augustus 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ContentModel Class Reference

Model typical sequences by pattern frequencies. More...

#include <contentmodel.hh>

Public Member Functions

 ContentModel (int k, int f=1)
 
void init (int k, int f)
 
void setRandomPatProbs ()
 
string generateRandSeq (int n, int startFrame=0) const
 
Double seqProbUnderModel (const char *seq, int len, int frame) const
 
BaseCount getMeanContent ()
 
Double getPatProb (int f, int pn) const
 
vector< DoublecopyPatProb (int f) const
 
void setPatProb (const Matrix< Double > &newpatprob)
 
void setPatProb (int frame, const vector< Double > &newRow)
 
int getNumFrames () const
 
int getNumPatterns () const
 
void print ()
 

Static Public Member Functions

static int randomIndex (const Double *p, int count)
 
static double DiscrimDifference (const ContentModel *a, const ContentModel *b, int n, int fa=0, int fb=0)
 

Detailed Description

Model typical sequences by pattern frequencies.

Author
Mario Stanke
Version
0.2

The documentation for this class was generated from the following files: