1 #ifndef REPORTS_C6B4B223_5C6D_459E_B2D8_CAC46A40A5B4
2 #define REPORTS_C6B4B223_5C6D_459E_B2D8_CAC46A40A5B4
23 std::vector<std::pair<double, double> >
pvalues;
33 virtual void serialize(std::ostream& ost)
const = 0;
45 virtual void serialize(std::ostream& ost)
const;
54 coord(
double _x,
double _y) :
x(_x),
y(_y)
77 virtual void serialize(std::ostream& ost)
const;
91 virtual void serialize(std::ostream& ost)
const;
136 std::ios_base&
json(std::ios_base& os);
137 std::ios_base&
html(std::ios_base& os);
Report()
Definition: reports.h:109
Report::Formats format
Definition: reports.h:119
svg_visualization(pTree tree)
Definition: reports.cpp:1103
coord(double _x, double _y)
Definition: reports.h:54
virtual void serialize(std::ostream &ost) const
Definition: reports.cpp:1254
std::vector< double > lambdas
Definition: reports.h:102
bool branchcutting
Definition: reports.h:115
Formats
Definition: reports.h:96
std::vector< std::pair< double, double > > pvalues
Definition: reports.h:23
std::vector< family_line_item > family_line_items
Definition: reports.h:106
std::string lambda_tree
Definition: reports.h:101
bool likelihood
Definition: reports.h:116
newick_visualization(pTree tree)
Definition: reports.h:41
void write_viterbi(std::ostream &ost, const Report &viterbi)
void write_families_header(std::ostream &ost, bool cutPvalues, bool likelihoodRatios)
void update_depths(pTreeNode node, std::map< int, double > &depths, double curr_depth)
Definition: reports.cpp:959
std::map< int, coord > coordinates
Definition: reports.h:78
static int report_format
Definition: reports.h:97
friend std::ostream & operator<<(std::ostream &ost, const tree_visualization &newick)
Definition: reports.cpp:405
report_parameters get_report_parameters(std::vector< std::string > tokens)
Definition: reports.cpp:603
std::string tree
Definition: reports.h:100
std::ostream & operator<<(std::ostream &ost, const family_line_item &item)
Definition: reports.cpp:319
void plot_node(std::ostream &ost, pTreeNode node) const
Definition: reports.cpp:1198
pCafeTree aTree
Definition: reports.h:99
int cafe_report_retrieve_data(const char *file, pCafeParam param, viterbi_parameters &viterbi)
Definition: reports.cpp:744
std::vector< double > likelihood_ratios
Definition: reports.h:25
std::vector< std::pair< int, int > > node_pairs
Definition: reports.h:105
bool just_save
Definition: reports.h:118
std::string name
Definition: reports.h:120
double y
Definition: reports.h:52
double x
Definition: reports.h:51
int cafe_cmd_report(Globals &globals, std::vector< std::string > tokens)
Report: Generates reports in various formats of the calculations completed
Definition: cafe_commands.cpp:1009
family_line_item()
Definition: reports.h:28
bool lh2
Definition: reports.h:117
int height
Definition: reports.h:80
std::vector< change > changes
Definition: reports.h:104
Singleton structure that holds all of the global data that Cafe acts on.
Definition: family.h:115
std::string node_id
Definition: reports.h:20
double max_p_value
Definition: reports.h:22
std::ios_base & html(std::ios_base &os)
Definition: reports.cpp:313
std::vector< int > branch_cutting_output_format
Definition: reports.h:107
bool legend
Definition: reports.h:81
std::vector< double > cut_pvalues
Definition: reports.h:24
Definition: reports.h:113
std::string tree
Definition: reports.h:21
virtual void serialize(std::ostream &ost) const
Definition: reports.cpp:398
void cafe_do_report(Globals &globals, viterbi_parameters &viterbi, report_parameters *params)
Definition: reports.cpp:654
std::vector< double > averageExpansion
Definition: reports.h:103
virtual void serialize(std::ostream &ost) const
Definition: reports.cpp:1063
Structure representing a matrix of values of family sizes.
Definition: family.h:88
coord()
Definition: reports.h:53
ascii_visualization(pTree tree, int width)
Definition: reports.h:90
std::ios_base & json(std::ios_base &os)
These I/O manipulators allow selecting the report format.
Definition: reports.cpp:307