![]() |
Quetzal-CoaTL
The Coalescence Template Library
|
#include <quetzal/polymorphism/tajimasD.hpp>
Class to compute Tajima's D.
Public Types | |
using | value_type = T |
Public Member Functions | |
tajimasD (double pi, double S, double n) | |
Constructor. | |
constexpr value_type | get () |
Get the computed value. | |
value_type | pi () const |
value_type | S () const |
value_type | n () const |
value_type | a1 () const |
value_type | a2 () const |
value_type | b1 () const |
value_type | b2 () const |
value_type | c1 () const |
value_type | c2 () const |
value_type | e1 () const |
value_type | e2 () const |
value_type | D () const |
|
inline |
Constructor.
pi | mean pairwise difference |
S | number of segregating sites |
n | number of sequences in the sample |