1 #ifndef SEQUENCE_VARIANTMATRIX_STATECOUNTS_HPP__ 2 #define SEQUENCE_VARIANTMATRIX_STATECOUNTS_HPP__ 4 #include "VariantMatrix.hpp" 5 #include "VariantMatrixViews.hpp" 25 = std::numeric_limits<VariantMatrix::value_type>::max();
41 void operator()(
const RowView &);
48 std::vector<StateCounts>
50 const std::vector<std::int8_t>& refstates);
54 std::vector<StateCounts>
Implementation details for Sequence::RowView and Sequence::ConstRowView.
Track character state occurrence at a site in a VariantMatrix.
std::vector< StateCounts > process_variable_sites(const VariantMatrix &m, const std::vector< std::int8_t > &refstates)
std::size_t max_allele_idx
The max allelic value seen.
std::vector< std::int32_t > counts
Keep track of (state, count) pairs.
The namespace in which this library resides.
std::uint32_t n
The sample size at this site. Excluded missing data.
Matrix representation of variation data.