1 #ifndef SEQUENCE_VARIANT_MATRIX_FILTERING_HPP_ 2 #define SEQUENCE_VARIANT_MATRIX_FILTERING_HPP_ 4 #include <Sequence/VariantMatrix.hpp> 5 #include <Sequence/VariantMatrixViews.hpp> 11 std::int32_t filter_sites(VariantMatrix &m,
12 const std::function<
bool(
const RowView &)> &f);
14 filter_haplotypes(VariantMatrix &m,
15 const std::function<
bool(
const ColView &)> &f);
internal::row_view_< std::int8_t * > RowView
View of a VariantMatrix row (a variable site)
The namespace in which this library resides.
internal::col_view_< std::int8_t * > ColView
View of a VariantMatrix column ("haplotype")