libsequence  1.9.5
nsl.hpp
Go to the documentation of this file.
1 #ifndef SEQUENCE_SUMMSTATS_NSL_HPP__
4 #define SEQUENCE_SUMMSTATS_NSL_HPP__
5 
6 #include <cstdint>
7 #include <Sequence/VariantMatrix.hpp>
8 
9 namespace Sequence
10 {
11  struct nSLiHS
15  {
17  double nsl;
19  double ihs;
22  std::int32_t core_count;
23  };
24 
25  nSLiHS nsl(const VariantMatrix& m, const std::size_t core,
26  const std::int8_t refstate);
27 } // namespace Sequence
28 
29 #endif
The namespace in which this library resides.
double ihs
The iHS statistic, calculated according to .
Definition: nsl.hpp:19
std::int32_t core_count
Definition: nsl.hpp:22
Matrix representation of variation data.
double nsl
The nSL statistic .
Definition: nsl.hpp:17