libsequence
1.9.5
|
unit tests for H1, H12, H2/H1 stats More...
#include <cmath>
#include <algorithm>
#include <vector>
#include <string>
#include <set>
#include <iostream>
#include <Sequence/VariantMatrix.hpp>
#include <Sequence/VariantMatrixViews.hpp>
#include <Sequence/summstats/garud.hpp>
#include <Sequence/summstats/classics.hpp>
#include "VariantMatrixFixture.hpp"
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Variables | |
auto | hdiv = Sequence::haplotype_diversity(m) |
std::vector< std::string > | haps |
std::vector< int > | hcounts |
double | H1 = 0.0 |
double | nsam = static_cast<double>(m.nsam) |
hcounts2 [0] = hcounts[0] | |
double | H12 = 0.0 |
double | p1sq |
double | H2 = H1 - p1sq |
unit tests for H1, H12, H2/H1 stats
Definition in file testGarudStatistics.cc.
double p1sq |
Definition at line 77 of file testGarudStatistics.cc.