A library for working with phylogenetic and population genetic data.
EpcaData Struct Reference

#include <genesis/placement/function/epca.hpp>

Detailed Description

Helper stucture that collects the output of epca().

It contains the same elements as utils::PcaData, but extends it by a vector of the edge indices that the rows of the eigenvectors Matrix correspond to. This is necessary for back-mapping the eigenvectors onto the edges of the tree.

Definition at line 76 of file epca.hpp.

Public Attributes

std::vector< size_t > edge_indices
std::vector< double > eigenvalues
utils::Matrix< double > eigenvectors
utils::Matrix< double > projection

Member Data Documentation

◆ edge_indices

std::vector<size_t> edge_indices

Definition at line 81 of file epca.hpp.

◆ eigenvalues

std::vector<double> eigenvalues

Definition at line 78 of file epca.hpp.

◆ eigenvectors

utils::Matrix<double> eigenvectors

Definition at line 79 of file epca.hpp.

◆ projection

utils::Matrix<double> projection

Definition at line 80 of file epca.hpp.

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