A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
tree/drawing/functions.cpp File Reference

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::tree
 

Functions

void write_color_tree_to_nexus_file (DefaultTree const &tree, std::vector< utils::Color > const &color_per_branch, std::string const &nexus_filename)
 
void write_color_tree_to_nexus_file (DefaultTree const &tree, std::vector< double > const &value_per_branch, utils::ColorMap const &color_map, utils::ColorNormalization const &color_norm, std::string const &nexus_filename)
 
void write_color_tree_to_phyloxml_file (DefaultTree const &tree, std::vector< utils::Color > const &color_per_branch, std::string const &phyloxml_filename)
 
void write_color_tree_to_phyloxml_file (DefaultTree const &tree, std::vector< double > const &value_per_branch, utils::ColorMap const &color_map, utils::ColorNormalization const &color_norm, std::string const &phyloxml_filename)
 
void write_color_tree_to_svg_file (DefaultTree const &tree, LayoutParameters const &params, std::vector< utils::Color > const &color_per_branch, std::string const &svg_filename)
 
void write_color_tree_to_svg_file (DefaultTree const &tree, LayoutParameters const &params, std::vector< double > const &value_per_branch, utils::ColorMap const &color_map, utils::ColorNormalization const &color_norm, std::string const &svg_filename)
 
void write_color_tree_to_svg_file (DefaultTree const &tree, LayoutParameters const &params, std::vector< utils::Color > const &color_per_branch, utils::ColorMap const &color_map, utils::ColorNormalization const &color_norm, std::string const &svg_filename)
 
void write_tree_to_newick_file (DefaultTree const &tree, std::string const &newick_filename)
 Write a newick file containing a tree. More...
 
void write_tree_to_nexus_file (DefaultTree const &tree, std::string const &nexus_filename)
 Write a nexus file containing a tree. More...
 
void write_tree_to_phyloxml_file (DefaultTree const &tree, std::string const &phyloxml_filename)
 Write a phyloxml file containing a tree. More...
 
void write_tree_to_svg_file (DefaultTree const &tree, LayoutParameters const &params, std::string const &svg_filename)