A library for working with phylogenetic and population genetic data.
v0.32.0
DiversityPoolCalculator::Result Struct Reference

#include <genesis/population/function/diversity_pool_calculator.hpp>

Detailed Description

Data struct to collect all diversity statistics computed here.

This is meant as a simple way to obtain all diversity measures at once. See get_result().

The struct stores all results of the diversity metrics, as well as the overall number of positions that were used to compute those: the filter_stats contains the counts of all SampleCounts::status filters of the samples passed to process().

Definition at line 139 of file diversity_pool_calculator.hpp.

Public Attributes

double tajima_d = std::numeric_limits<double>::quiet_NaN()
 
double theta_pi = std::numeric_limits<double>::quiet_NaN()
 
double theta_watterson = std::numeric_limits<double>::quiet_NaN()
 

Member Data Documentation

◆ tajima_d

double tajima_d = std::numeric_limits<double>::quiet_NaN()

Definition at line 144 of file diversity_pool_calculator.hpp.

◆ theta_pi

double theta_pi = std::numeric_limits<double>::quiet_NaN()

Definition at line 142 of file diversity_pool_calculator.hpp.

◆ theta_watterson

double theta_watterson = std::numeric_limits<double>::quiet_NaN()

Definition at line 143 of file diversity_pool_calculator.hpp.


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