A library for working with phylogenetic and population genetic data.
v0.27.0
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

utils::SvgDocument get_color_tree_svg_doc_ (CommonTree const &tree, LayoutParameters const &params, std::vector< utils::Color > const &color_per_branch)
 
void write_color_tree_to_nexus_file (CommonTree 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_nexus_file (CommonTree const &tree, std::vector< utils::Color > const &color_per_branch, std::string const &nexus_filename)
 
void write_color_tree_to_phyloxml_file (CommonTree 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_phyloxml_file (CommonTree const &tree, std::vector< utils::Color > const &color_per_branch, std::string const &phyloxml_filename)
 
void write_color_tree_to_svg_file (CommonTree 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 (CommonTree 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 (CommonTree const &tree, LayoutParameters const &params, std::vector< utils::Color > const &color_per_branch, std::vector< utils::Color > const &color_list, std::vector< std::string > const &color_labels, std::string const &svg_filename)
 
void write_color_tree_to_svg_file (CommonTree 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 (CommonTree const &tree, std::string const &newick_filename)
 Write a newick file containing a tree. More...
 
void write_tree_to_nexus_file (CommonTree const &tree, std::string const &nexus_filename)
 Write a nexus file containing a tree. More...
 
void write_tree_to_phyloxml_file (CommonTree const &tree, std::string const &phyloxml_filename)
 Write a phyloxml file containing a tree. More...
 
void write_tree_to_svg_file (CommonTree const &tree, LayoutParameters const &params, std::string const &svg_filename)