libsequence  1.9.5
nvariablesites.hpp
Go to the documentation of this file.
1 #ifndef SEQUENCE_SUMMSTATS_NVARIABLESITES_HPP__
4 #define SEQUENCE_SUMMSTATS_NVARIABLESITES_HPP__
5 
6 #include <cstdint>
7 #include <Sequence/AlleleCountMatrix.hpp>
8 
9 namespace Sequence
10 {
18  std::uint32_t nvariable_sites(const AlleleCountMatrix& m);
19 
27  std::uint32_t nbiallelic_sites(const AlleleCountMatrix& m);
28 
39  std::uint32_t total_number_of_mutations(const AlleleCountMatrix& m);
40 } // namespace Sequence
41 
42 #endif
std::uint32_t total_number_of_mutations(const AlleleCountMatrix &m)
Total number of mutations in the sample.
The namespace in which this library resides.
std::uint32_t nvariable_sites(const AlleleCountMatrix &m)
Number of polymorphic sites.
std::uint32_t nbiallelic_sites(const AlleleCountMatrix &m)
Number of bi-allelic sites.