A library for working with phylogenetic and population genetic data.
v0.27.0
PhyloFactorSingleColors Struct Reference

#include <genesis/tree/mass_tree/phylo_factor_colors.hpp>

Detailed Description

Store a set of colors for making visualizations of individual phylo factors.

Used by phylo_factor_single_factor_colors(), see there for details.

See also
phylogenetic_factorization()

Definition at line 82 of file phylo_factor_colors.hpp.

Public Attributes

utils::Color factor_edge = utils::Color( 0.0, 0.0, 0.0 )
 Color for the edge of that phylo factor. More...
 
utils::Color neutral_edges = utils::Color( 0.8, 0.8, 0.8 )
 Color for the edges that have not been used in this phylo factor. More...
 
utils::Color previous_factors = utils::Color( 0.0, 0.0, 0.0 )
 Color for the edges that have been factored out before (earlier factors in the greedy search). More...
 
utils::Color primary_edges = utils::Color( 0.529411765, 0.439215686, 0.670588235 )
 Color for the edges towards the root that have been used in this phylo factor. More...
 
utils::Color secondary_edges = utils::Color( 0.352941176, 0.682352941, 0.380392157 )
 Color for the edges away from the root that have been used in this phylo factor. More...
 

Member Data Documentation

◆ factor_edge

utils::Color factor_edge = utils::Color( 0.0, 0.0, 0.0 )

Color for the edge of that phylo factor.

Default is black.

Definition at line 89 of file phylo_factor_colors.hpp.

◆ neutral_edges

utils::Color neutral_edges = utils::Color( 0.8, 0.8, 0.8 )

Color for the edges that have not been used in this phylo factor.

Defaut is a light gray.

Definition at line 118 of file phylo_factor_colors.hpp.

◆ previous_factors

utils::Color previous_factors = utils::Color( 0.0, 0.0, 0.0 )

Color for the edges that have been factored out before (earlier factors in the greedy search).

Default is black.

Definition at line 111 of file phylo_factor_colors.hpp.

◆ primary_edges

utils::Color primary_edges = utils::Color( 0.529411765, 0.439215686, 0.670588235 )

Color for the edges towards the root that have been used in this phylo factor.

Default is purple.

Definition at line 96 of file phylo_factor_colors.hpp.

◆ secondary_edges

utils::Color secondary_edges = utils::Color( 0.352941176, 0.682352941, 0.380392157 )

Color for the edges away from the root that have been used in this phylo factor.

Default is green.

Definition at line 103 of file phylo_factor_colors.hpp.


The documentation for this struct was generated from the following file: