Augustus 3.4.0
|
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< Double > | copyPatProb (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) |
Model typical sequences by pattern frequencies.