#include "genesis/population/filter/filter_stats.hpp"
#include "genesis/population/filter/filter_status.hpp"
#include "genesis/population/filter/sample_counts_filter.hpp"
#include "genesis/population/filter/variant_filter.hpp"
#include "genesis/population/genome_locus_set.hpp"
#include "genesis/population/sample_counts.hpp"
#include "genesis/population/variant.hpp"
#include "genesis/population/window/base_window.hpp"
#include "genesis/population/window/window_view.hpp"
#include <cassert>
#include <limits>
#include <memory>
#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 | |
Enumerations | |
enum | WindowAveragePolicy { kWindowLength, kAvailableLoci, kValidLoci, kValidSnps, kSum, kProvidedLoci } |
Select the method to use for computing window averages of statistic estimators. More... | |
Functions | |
template<class D > | |
size_t | get_window_length (BaseWindow< D > const &window) |
Get the length of a given Window. More... | |
template<class D > | |
size_t | get_window_provided_loci_count (BaseWindow< D > const &window, std::shared_ptr< GenomeLocusSet > provided_loci) |
Get the count of provided loci in a window. More... | |
template<class D > | |
double | window_average_denominator (WindowAveragePolicy policy, BaseWindow< D > const &window, std::shared_ptr< GenomeLocusSet > provided_loci, VariantFilterStats const &variant_filter_stats, SampleCountsFilterStats const &sample_counts_filter_stats) |
Get the denoninator to use for averaging an estimator across a window. More... | |