CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
viterbi_parameters Class Reference

#include <viterbi.h>

Public Types

using NodeFamilyKey = std::pair< int, pCafeFamilyItem >
 

Public Member Functions

void set_node_familysize (pCafeTree tree, pCafeFamilyItem pItem)
 
void compute_size_deltas (pTree ptree, pCafeFamilyItem pitem)
 
void clear (int nnodes)
 

Data Fields

int num_nodes
 
int num_rows
 
std::vector< changeexpandRemainDecrease
 
std::map< NodeFamilyKey, int > viterbiNodeFamilysizes
 
std::map< NodeFamilyKey, double > viterbiPvalues
 
double * maximumPvalues
 
std::vector< double > averageExpansion
 
double ** cutPvalues
 

Member Typedef Documentation

Member Function Documentation

void viterbi_parameters::clear ( int  nnodes)
void viterbi_parameters::compute_size_deltas ( pTree  ptree,
pCafeFamilyItem  pitem 
)
void viterbi_parameters::set_node_familysize ( pCafeTree  tree,
pCafeFamilyItem  pItem 
)

Field Documentation

std::vector<double> viterbi_parameters::averageExpansion
double** viterbi_parameters::cutPvalues
std::vector<change> viterbi_parameters::expandRemainDecrease

array of three integers expand, remain, and decrease for each node in the tree relative to its parent

double* viterbi_parameters::maximumPvalues
int viterbi_parameters::num_nodes

Number of nodes in the tree

int viterbi_parameters::num_rows

Number of gene families for which to keep data

std::map<NodeFamilyKey, int> viterbi_parameters::viterbiNodeFamilysizes
std::map<NodeFamilyKey, double> viterbi_parameters::viterbiPvalues

Matrix of calculated P values for each node in the tree and each gene family


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