libsequence  1.9.5
generic.hpp File Reference

Generic utilities for calculating summary statistics. More...

#include <unordered_map>
#include <cstdint>

Go to the source code of this file.

Namespaces

 Sequence
 The namespace in which this library resides.
 

Functions

double Sequence::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. More...
 

Detailed Description

Generic utilities for calculating summary statistics.

Definition in file generic.hpp.