Compute our unbiased F_ST statistic for pool-sequenced data for two ranges of SampleCountss.
This is our novel approach for estimating F_ST, using pool-sequencing corrected estimates of Pi within, Pi between, and Pi total, to compute F_ST following the definitions of Nei [1] and Hudson [2], respectively. These are returned here as a pair in that order. See https://github.com/lczech/pool-seq-pop-gen-stats for details.
[1] Analysis of Gene Diversity in Subdivided Populations.
Nei M.
Proceedings of the National Academy of Sciences, 1973, 70(12), 3321–3323. https://doi.org/10.1073/PNAS.70.12.3321
[2] Estimation of levels of gene flow from DNA sequence data.
Hudson RR, Slatkin M, Maddison WP.
Genetics, 1992, 132(2), 583–589. https://doi.org/10.1093/GENETICS/132.2.583
Definition at line 82 of file fst_pool_unbiased.hpp.
|
| | FstPoolCalculatorUnbiased (FstPoolCalculatorUnbiased &&)=default |
| |
| | FstPoolCalculatorUnbiased (FstPoolCalculatorUnbiased const &)=default |
| |
| | FstPoolCalculatorUnbiased (size_t smp1_poolsize, size_t smp2_poolsize, WindowAveragePolicy window_average_policy, Estimator est=Estimator::kNei) |
| |
| virtual | ~FstPoolCalculatorUnbiased () override=default |
| |
| double | get_pi_between () const |
| |
| template<class D > |
| double | get_pi_between (BaseWindow< D > const &window, std::shared_ptr< GenomeLocusSet > provided_loci, VariantFilterStats const &variant_filter_stats) const |
| |
| double | get_pi_total () const |
| |
| template<class D > |
| double | get_pi_total (BaseWindow< D > const &window, std::shared_ptr< GenomeLocusSet > provided_loci, VariantFilterStats const &variant_filter_stats) const |
| |
| double | get_pi_total (double pi_within, double pi_between) const |
| |
| PiValues | get_pi_values () const |
| |
| template<class D > |
| PiValues | get_pi_values (BaseWindow< D > const &window, std::shared_ptr< GenomeLocusSet > provided_loci, VariantFilterStats const &variant_filter_stats) const |
| |
| double | get_pi_within () const |
| |
| template<class D > |
| double | get_pi_within (BaseWindow< D > const &window, std::shared_ptr< GenomeLocusSet > provided_loci, VariantFilterStats const &variant_filter_stats) const |
| |
| template<class D > |
| double | get_result (BaseWindow< D > const &window, std::shared_ptr< GenomeLocusSet > provided_loci, VariantFilterStats const &variant_filter_stats) const |
| |
| std::pair< double, double > | get_result_pair () const |
| | Get both variants of FST, following Nei, and following Hudson, as a pair. More...
|
| |
| template<class D > |
| std::pair< double, double > | get_result_pair (BaseWindow< D > const &window, std::shared_ptr< GenomeLocusSet > provided_loci, VariantFilterStats const &variant_filter_stats) const |
| | Get both variants of FST, following Nei, and following Hudson, as a pair. More...
|
| |
| WindowAveragePolicy | get_window_average_policy () const |
| |
| FstPoolCalculatorUnbiased & | operator= (FstPoolCalculatorUnbiased &&)=default |
| |
| FstPoolCalculatorUnbiased & | operator= (FstPoolCalculatorUnbiased const &)=default |
| |
| | BaseFstPoolCalculator ()=default |
| |
| | BaseFstPoolCalculator (BaseFstPoolCalculator &&)=default |
| |
| | BaseFstPoolCalculator (BaseFstPoolCalculator const &)=default |
| |
| virtual | ~BaseFstPoolCalculator ()=default |
| |
| SampleCountsFilterStats | get_filter_stats () const |
| | Get the sum of filter statistics of all sample pairs processed here. More...
|
| |
| double | get_result () const |
| |
| BaseFstPoolCalculator & | operator= (BaseFstPoolCalculator &&)=default |
| |
| BaseFstPoolCalculator & | operator= (BaseFstPoolCalculator const &)=default |
| |
| void | process (SampleCounts const &p1, SampleCounts const &p2) |
| |
| void | reset () |
| |