A library for working with phylogenetic and population genetic data.
v0.32.0
sample_counts_filter.cpp File Reference
#include "genesis/population/filter/sample_counts_filter.hpp"
#include "genesis/utils/text/char.hpp"
#include "genesis/population/function/functions.hpp"
#include <cassert>
#include <cmath>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::population
 

Functions

std::string print_sample_counts_filter_category_stats (SampleCountsFilterCategoryStats const &stats, bool verbose)
 
std::ostream & print_sample_counts_filter_category_stats (std::ostream &os, SampleCountsFilterCategoryStats const &stats, bool verbose)
 
std::string print_sample_counts_filter_stats (SampleCountsFilterStats const &stats, bool verbose=false)
 Print a textual representation of the counts collected. More...
 
std::ostream & print_sample_counts_filter_stats (std::ostream &os, SampleCountsFilterStats const &stats, bool verbose=false)
 Print a textual representation of the counts collected. More...
 
SampleCountsFilterCategoryStats sample_counts_filter_stats_category_counts (SampleCountsFilterStats const &stats)
 Generate summary counts for a SampleCountsFilterStats counter. More...
 
size_t sample_counts_filter_stats_category_counts (SampleCountsFilterStats const &stats, SampleCountsFilterTagCategory category)
 Overload that only reports back a single category sum of the filter stats. More...
 
SampleCountsFilterTagCategory sample_counts_filter_tag_to_category (SampleCountsFilterTag tag)
 For a given tag, return its category tag. More...