|
A library for working with phylogenetic and population genetic data.
v0.27.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_TREE_DRAWING_FUNCTIONS_H_
2 #define GENESIS_TREE_DRAWING_FUNCTIONS_H_
58 std::string
const& newick_filename
72 std::string
const& phyloxml_filename
77 std::vector<utils::Color>
const& color_per_branch,
78 std::string
const& phyloxml_filename
83 std::vector<double>
const& value_per_branch,
84 utils::ColorMap
const& color_map,
85 utils::ColorNormalization
const& color_norm,
86 std::string
const& phyloxml_filename
100 std::string
const& nexus_filename
105 std::vector<utils::Color>
const& color_per_branch,
106 std::string
const& nexus_filename
111 std::vector<double>
const& value_per_branch,
112 utils::ColorMap
const& color_map,
113 utils::ColorNormalization
const& color_norm,
114 std::string
const& nexus_filename
132 std::string
const& svg_filename
138 std::vector<utils::Color>
const& color_per_branch,
139 std::string
const& svg_filename
145 std::vector<double>
const& value_per_branch,
148 std::string
const& svg_filename
154 std::vector<utils::Color>
const& color_per_branch,
157 std::string
const& svg_filename
163 std::vector<utils::Color>
const& color_per_branch,
164 std::vector<utils::Color>
const& color_list,
165 std::vector<std::string>
const& color_labels,
166 std::string
const& svg_filename
172 #endif // include guard
LayoutShape
Shape of the tree for drawing, either circular or rectangular.
Store a list of colors and offer them as a map for values in range [ 0.0, 1.0 ].
LayoutType
Type of tree for drawing, either phylogram or cladogram.
Base class for color normalization.
void write_tree_to_newick_file(CommonTree const &tree, std::string const &newick_filename)
Write a newick file containing a tree.
void write_color_tree_to_phyloxml_file(CommonTree const &tree, std::vector< utils::Color > const &color_per_branch, std::string const &phyloxml_filename)
Class for representing phylogenetic trees.
void write_tree_to_phyloxml_file(CommonTree const &tree, std::string const &phyloxml_filename)
Write a phyloxml file containing a tree.
Tree CommonTree
Alias for a Tree with data types CommonNodeData and CommonEdgeData.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
void write_tree_to_nexus_file(CommonTree const &tree, std::string const &nexus_filename)
Write a nexus file containing a tree.
void write_color_tree_to_svg_file(CommonTree const &tree, LayoutParameters const ¶ms, std::vector< utils::Color > const &color_per_branch, std::string const &svg_filename)
void write_tree_to_svg_file(CommonTree const &tree, LayoutParameters const ¶ms, std::string const &svg_filename)
void write_color_tree_to_nexus_file(CommonTree const &tree, std::vector< utils::Color > const &color_per_branch, std::string const &nexus_filename)