A toolkit for working with phylogenetic data.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
epca.cpp File Reference

Go to the source code of this file.


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


utils::PcaData epca (SampleSet const &samples, double kappa, double epsilon, size_t components)
std::vector< size_t > epca_filter_constant_columns (utils::Matrix< double > &imbalance_matrix, double epsilon=1e-5)
 Filter out columns that have nearly constant values, measured using an epsilon. More...
utils::Matrix< double > epca_imbalance_matrix (SampleSet const &samples, bool include_leaves=false)
 Calculate the imbalance matrix of placment mass for all Samples in a SampleSet. More...
std::vector< double > epca_imbalance_vector (Sample const &sample, bool normalize=true)
 Calculate the imbalance of placement mass for each Edge of the given Sample. More...
void epca_splitify_transform (utils::Matrix< double > &imbalance_matrix, double kappa=1.0)
 Perform a component-wise transformation of the imbalance matrix used for epca(). More...