|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_POPULATION_FUNCTION_FST_POOL_CALCULATOR_H_
2 #define GENESIS_POPULATION_FUNCTION_FST_POOL_CALCULATOR_H_
43 namespace population {
89 filter_stats_.
clear();
131 return filter_stats_;
141 virtual void reset_() = 0;
160 #endif // include guard
void process(SampleCounts const &p1, SampleCounts const &p2)
BaseFstPoolCalculator()=default
One set of nucleotide sample counts, for example for a given sample that represents a pool of sequenc...
SampleCountsFilterStats get_filter_stats() const
Get the sum of filter statistics of all sample pairs processed here.
BaseFstPoolCalculator & operator=(BaseFstPoolCalculator const &)=default
double get_result() const
virtual void process_(SampleCounts const &p1, SampleCounts const &p2)=0
FilterStatus status
Status to indicate whether any applied filters failed to pass.
@ kPassed
Sample has passed all filters.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
Base class to compute FST between two pooled samples, given two instances of SampleCounts.
virtual ~BaseFstPoolCalculator()=default
virtual double get_result_() const =0