1 #ifndef SEQUENCE_SUMMSTATS_GENERIC_HPP 4 #define SEQUENCE_SUMMSTATS_GENERIC_HPP 6 #include <unordered_map> 17 const std::unordered_map<std::int32_t, std::int32_t>& counts,
18 const std::size_t nsam);
double diversity_from_counts(const std::unordered_map< std::int32_t, std::int32_t > &counts, const std::size_t nsam)
Calculate heterozygosity/diversity from count data.
The namespace in which this library resides.