#include <genesis/tree/mass_tree/phylo_factor_colors.hpp>
Store a set of colors for making visualizations of the clades of all phylo factors.
Used by phylo_factor_clade_colors(), see there for details.
Definition at line 154 of file phylo_factor_colors.hpp.
Public Attributes | |
utils::Color | base_edges = utils::Color( 0.8, 0.8, 0.8 ) |
Color for the edges towards the root of the first phylo factor. More... | |
std::vector< utils::Color > | clade_colors = utils::color_list_set1() |
Colors for the sets of edges away from the root that have been split by the phylo factors. More... | |
utils::Color | factor_edges = utils::Color( 0.0, 0.0, 0.0 ) |
Color for the "winning" edges of phylo factors. More... | |
utils::Color base_edges = utils::Color( 0.8, 0.8, 0.8 ) |
Color for the edges towards the root of the first phylo factor.
Default is a light gray. This color is used for the primary part (towards the root) of the first factor. As phylo_factor_clade_colors() only colorizes the secondar (away from the root) splits of each factor, this color can be considered the color for the "remaining" part of the tree.
Definition at line 171 of file phylo_factor_colors.hpp.
std::vector<utils::Color> clade_colors = utils::color_list_set1() |
Colors for the sets of edges away from the root that have been split by the phylo factors.
That is, each factor gets a color of this list.
Definition at line 179 of file phylo_factor_colors.hpp.
utils::Color factor_edges = utils::Color( 0.0, 0.0, 0.0 ) |
Color for the "winning" edges of phylo factors.
Default is black.
Definition at line 161 of file phylo_factor_colors.hpp.