CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
likelihood_ratio.h
Go to the documentation of this file.
1 #ifndef LIKELIHOOD_RATIO_H_7F6D20CB_1791_422E_B34B_54DF43D11DA5
2 #define LIKELIHOOD_RATIO_H_7F6D20CB_1791_422E_B34B_54DF43D11DA5
3 
4 #include <vector>
5 
6 extern "C" {
7 #include <family.h>
8 }
9 void cafe_lhr_for_diff_lambdas(pCafeParam param, pTree lambda_tree2, int num_lambdas, OPTIMIZER_INIT_TYPE lfunc);
10 void update_branchlength(pCafeTree pcafe, pTree lambda_tree, double bl_augment, int *old_branchlength, int* t);
11 
13  pCafeTree pcafe,
14  const std::vector<double> &pvalues,
15  const std::vector<int> &plambda,
16  const std::vector<double*> &lambda_cache,
17  FILE *fout);
18 
19 
20 
21 #endif
void cafe_lhr_for_diff_lambdas(pCafeParam param, pTree lambda_tree2, int num_lambdas, OPTIMIZER_INIT_TYPE lfunc)
Definition: likelihood_ratio.cpp:158
void update_branchlength(pCafeTree pcafe, pTree lambda_tree, double bl_augment, int *old_branchlength, int *t)
Definition: likelihood_ratio.cpp:52
const double bl_augment
Definition: likelihood_ratio.cpp:12
void likelihood_ratio_report(pCafeFamily pfamily, pCafeTree pcafe, const std::vector< double > &pvalues, const std::vector< int > &plambda, const std::vector< double * > &lambda_cache, FILE *fout)
Definition: likelihood_ratio.cpp:31
Singleton structure that holds all of the global data that Cafe acts on.
Definition: family.h:115
Definition: tree.h:11
Structure representing a matrix of values of family sizes.
Definition: family.h:88
Definition: family.h:17
OPTIMIZER_INIT_TYPE
Definition: family.h:107