libsequence  1.9.5
ld.hpp
1 #ifndef SEQUENCE_SUMMSTATS_LD_HPP__
2 #define SEQUENCE_SUMMSTATS_LD_HPP__
3 
4 #include <cstdint>
5 #include <vector>
6 #include <Sequence/VariantMatrix.hpp>
7 
8 namespace Sequence
9 {
10  struct TwoLocusCounts
11  {
12  std::int8_t i, j;
13  int n;
14  TwoLocusCounts(std::int8_t i_, std::int8_t j_, int n_);
15  };
16 
17  std::vector<TwoLocusCounts>
18  two_locus_haplotype_counts(const VariantMatrix& m, std::size_t sitei,
19  const std::size_t sitej,
20  const bool skip_missing);
21 } // namespace Sequence
22 
23 #endif
The namespace in which this library resides.